#7C209A#7C209A

#7C209A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.191 H 316.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7C209A
RGBrgb(124, 32, 154)
HSLhsl(285, 66%, 36%)
HSVhsv(285, 79%, 60%)
CMYKcmyk(19.5%, 79.2%, 0%, 39.6%)
CIE-LABlab(33.25, 55.88, -47.04)
CIE-LCHlch(33.25, 73.04, 319.90°)
OKLaboklab(44.96% 0.1375 -0.1327)
OKLCHoklch(44.96% 0.191 316)
XYZxyz(14.6605, 7.6518, 31.2703)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C209A #3E9A20
analogous
#3F209A #7C209A #9A207B
triadic
#7C209A #9A7C20 #209A7C
tetradic
#7C209A #9A3F20 #3E9A20 #207B9A
square
#7C209A #9A3F20 #3E9A20 #207B9A
split-complementary
#7C209A #7B9A20 #209A3F
monochromatic
#2A0B35 #531567 #7C209A #A52BCD #BC58DC

Accessibility & contrast

On white

8.30
#7C209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C209A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C209A#FFFFFF#000000##FFFFFF
##7C209A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#1E5197
Tritanopia (blue-blind)
#7A3C5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c209a;
/* rgb */ color: rgb(124, 32, 154);
/* oklch */ color: oklch(45.0% 0.191 316.0);
Tailwind
colors: {
  custom: {
    50: '#a667b8',
    500: '#7c209a',
    950: '#000000',
  },
}
SCSS
$custom: #7c209a;
$custom-light: #a667b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c209a",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 285.246,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.19106,
    "h": 316
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#7C209A
secondary
#70C056
accent
#E93F69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C209A

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

Preview Lab → · Contrast checker → · Palette generator →

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