#7B209A#7B209A

#7B209A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.191 H 315.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7B209A
RGBrgb(123, 32, 154)
HSLhsl(285, 66%, 36%)
HSVhsv(285, 79%, 60%)
CMYKcmyk(20.1%, 79.2%, 0%, 39.6%)
CIE-LABlab(33.09, 55.68, -47.31)
CIE-LCHlch(33.09, 73.07, 319.65°)
OKLaboklab(44.81% 0.1362 -0.1335)
OKLCHoklch(44.81% 0.191 315.6)
XYZxyz(14.5167, 7.5776, 31.2635)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B209A #3F9A20
analogous
#3E209A #7B209A #9A207C
triadic
#7B209A #9A7B20 #209A7B
tetradic
#7B209A #9A3E20 #3F9A20 #207C9A
square
#7B209A #9A3E20 #3F9A20 #207C9A
split-complementary
#7B209A #7C9A20 #209A3E
monochromatic
#2A0B35 #531567 #7B209A #A32BCD #BB58DC

Accessibility & contrast

On white

8.35
#7B209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B209A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B209A#FFFFFF#000000##FFFFFF
##7B209A1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#793C5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b209a;
/* rgb */ color: rgb(123, 32, 154);
/* oklch */ color: oklch(44.8% 0.191 315.6);
Tailwind
colors: {
  custom: {
    50: '#a567b8',
    500: '#7b209a',
    950: '#000000',
  },
}
SCSS
$custom: #7b209a;
$custom-light: #a567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b209a",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 284.754,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.1907,
    "h": 315.6
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#7B209A
secondary
#71C056
accent
#E93F6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B209A

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

Preview Lab → · Contrast checker → · Palette generator →

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