#7C209B#7C209B

#7C209B is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.192 H 315.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7C209B
RGBrgb(124, 32, 155)
HSLhsl(285, 66%, 37%)
HSVhsv(285, 79%, 61%)
CMYKcmyk(20%, 79.4%, 0%, 39.2%)
CIE-LABlab(33.32, 56.08, -47.54)
CIE-LCHlch(33.32, 73.51, 319.71°)
OKLaboklab(45.03% 0.1373 -0.1341)
OKLCHoklch(45.03% 0.192 315.7)
XYZxyz(14.7441, 7.6852, 31.7107)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C209B #3F9B20
analogous
#3F209B #7C209B #9B207D
triadic
#7C209B #9B7C20 #209B7C
tetradic
#7C209B #9B3F20 #3F9B20 #207D9B
square
#7C209B #9B3F20 #3F9B20 #207D9B
split-complementary
#7C209B #7D9B20 #209B3F
monochromatic
#2B0B36 #531668 #7C209B #A52ACE #BB59DD

Accessibility & contrast

On white

8.28
#7C209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7C209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C209B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C209B#FFFFFF#000000##FFFFFF
##7C209B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#1C5198
Tritanopia (blue-blind)
#7A3D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c209b;
/* rgb */ color: rgb(124, 32, 155);
/* oklch */ color: oklch(45.0% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#a667b9',
    500: '#7c209b',
    950: '#000000',
  },
}
SCSS
$custom: #7c209b;
$custom-light: #a667b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c209b",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 284.878,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.19195,
    "h": 315.7
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C209B

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

Preview Lab → · Contrast checker → · Palette generator →

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