Skip to main content

#7B2D8B Rebecca Purple

The nearest named color to #7B2D8B is Rebecca Purple (#663399).

#7B2D8B

Rebecca Purple

What are the RGB, HSL, OKLCH and CMYK values of #7B2D8B?

HEX
#7B2D8B
RGB
rgb(123, 45, 139)
HSL
hsl(290, 51%, 36%)
OKLCH
oklch(45.1% 0.161 320)
CMYK
12, 68, 0, 45

#7B2D8B has a contrast ratio of 8.11:1 against white and 2.59:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #7B2D8B
#7B2D8B
Same color
White
8.1AAA
Near-black
2.2Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #7B2D8B · 8.1:1

Tints and shades of #7B2D8B

Same hue and chroma in OKLCH, lighter to darker.

  1. #FCF0FF
  2. #F4C0FF
  3. #E492F6
  4. #C474D5
  5. #A556B6
  6. #7B2D8B
  7. #691979
  8. #4A0057
  9. #280030

Colors that go with #7B2D8B

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Dark Slate Blue, #3B236C and Space Cadet, #19224D become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --rebecca-purple-1: #7B2D8B; /* Rebecca Purple */
}

Palettes, gradients and meshes with #7B2D8B

Items using this color or one perceptually close to it, closest first.

Palettes (2)

Gradients (2)

Mesh gradients (2)