#7B206E#7B206E

#7B206E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.153 H 334.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7B206E
RGBrgb(123, 32, 110)
HSLhsl(309, 59%, 30%)
HSVhsv(309, 74%, 48%)
CMYKcmyk(0%, 74%, 10.6%, 51.8%)
CIE-LABlab(30.33, 47.60, -24.26)
CIE-LCHlch(30.33, 53.43, 332.99°)
OKLaboklab(41.96% 0.1383 -0.0664)
OKLCHoklch(41.96% 0.153 334.4)
XYZxyz(11.4995, 6.3708, 15.3729)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B206E #207B2D
analogous
#5A207B #7B206E #7B2041
triadic
#7B206E #6E7B20 #206E7B
tetradic
#7B206E #7B5A20 #207B2D #20417B
square
#7B206E #7B5A20 #207B2D #20417B
split-complementary
#7B206E #417B20 #207B5A
monochromatic
#1A0717 #4A1343 #7B206E #AC2D99 #CF46BB

Accessibility & contrast

On white

9.23
#7B206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B206E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B206E#FFFFFF#000000##FFFFFF
##7B206E1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#812844
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b206e;
/* rgb */ color: rgb(123, 32, 110);
/* oklch */ color: oklch(42.0% 0.153 334.4);
Tailwind
colors: {
  custom: {
    50: '#a46598',
    500: '#7b206e',
    950: '#000000',
  },
}
SCSS
$custom: #7b206e;
$custom-light: #a46598;
$custom-dark: #000000;
JSON
{
  "hex": "#7b206e",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 308.571,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.15341,
    "h": 334.4
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#7B206E
secondary
#49AE57
accent
#E25C46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B206E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7B206E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva