#7B209B#7B209B

#7B209B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.192 H 315.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7B209B
RGBrgb(123, 32, 155)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(20.6%, 79.4%, 0%, 39.2%)
CIE-LABlab(33.16, 55.89, -47.80)
CIE-LCHlch(33.16, 73.54, 319.46°)
OKLaboklab(44.89% 0.136 -0.1349)
OKLCHoklch(44.89% 0.192 315.2)
XYZxyz(14.6003, 7.6111, 31.7040)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B209B #409B20
analogous
#3E209B #7B209B #9B207E
triadic
#7B209B #9B7B20 #209B7B
tetradic
#7B209B #9B3E20 #409B20 #207E9B
square
#7B209B #9B3E20 #409B20 #207E9B
split-complementary
#7B209B #7E9B20 #209B3E
monochromatic
#2A0B36 #531668 #7B209B #A32ACE #BA59DD

Accessibility & contrast

On white

8.33
#7B209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7B209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B209B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B209B#FFFFFF#000000##FFFFFF
##7B209B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#783D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b209b;
/* rgb */ color: rgb(123, 32, 155);
/* oklch */ color: oklch(44.9% 0.192 315.2);
Tailwind
colors: {
  custom: {
    50: '#a567b9',
    500: '#7b209b',
    950: '#000000',
  },
}
SCSS
$custom: #7b209b;
$custom-light: #a567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b209b",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 284.39,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.1916,
    "h": 315.2
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#7B209B
secondary
#72C156
accent
#E93F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B209B

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

Preview Lab → · Contrast checker → · Palette generator →

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