#7D209B#7D209B

#7D209B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.192 H 316.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7D209B
RGBrgb(125, 32, 155)
HSLhsl(285, 66%, 37%)
HSVhsv(285, 79%, 61%)
CMYKcmyk(19.4%, 79.4%, 0%, 39.2%)
CIE-LABlab(33.48, 56.27, -47.27)
CIE-LCHlch(33.48, 73.49, 319.96°)
OKLaboklab(45.17% 0.1386 -0.1333)
OKLCHoklch(45.17% 0.192 316.1)
XYZxyz(14.8894, 7.7602, 31.7175)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D209B #3E9B20
analogous
#40209B #7D209B #9B207C
triadic
#7D209B #9B7D20 #209B7D
tetradic
#7D209B #9B4020 #3E9B20 #207C9B
square
#7D209B #9B4020 #3E9B20 #207C9B
split-complementary
#7D209B #7C9B20 #209B40
monochromatic
#2B0B36 #541668 #7D209B #A62ACE #BC59DD

Accessibility & contrast

On white

8.23
#7D209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D209B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D209B#FFFFFF#000000##FFFFFF
##7D209B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#7B3C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d209b;
/* rgb */ color: rgb(125, 32, 155);
/* oklch */ color: oklch(45.2% 0.192 316.1);
Tailwind
colors: {
  custom: {
    50: '#a767b9',
    500: '#7d209b',
    950: '#000000',
  },
}
SCSS
$custom: #7d209b;
$custom-light: #a767b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d209b",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 285.366,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.19231,
    "h": 316.1
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#7D209B
secondary
#70C156
accent
#E93F68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D209B

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

Preview Lab → · Contrast checker → · Palette generator →

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