#7D208E#7D208E

#7D208E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.181 H 320.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7D208E
RGBrgb(125, 32, 142)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 56%)
CMYKcmyk(12%, 77.5%, 0%, 44.3%)
CIE-LABlab(32.58, 53.74, -40.75)
CIE-LCHlch(32.58, 67.44, 322.83°)
OKLaboklab(44.26% 0.1404 -0.1142)
OKLCHoklch(44.26% 0.181 320.9)
XYZxyz(13.8559, 7.3467, 26.2742)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D208E #318E20
analogous
#46208E #7D208E #8E2068
triadic
#7D208E #8E7D20 #208E7D
tetradic
#7D208E #8E4620 #318E20 #20688E
square
#7D208E #8E4620 #318E20 #20688E
split-complementary
#7D208E #688E20 #208E46
monochromatic
#25092A #51155C #7D208E #A92BC0 #C351D8

Accessibility & contrast

On white

8.50
#7D208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D208E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D208E#FFFFFF#000000##FFFFFF
##7D208E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#7E3656
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d208e;
/* rgb */ color: rgb(125, 32, 142);
/* oklch */ color: oklch(44.3% 0.181 320.9);
Tailwind
colors: {
  custom: {
    50: '#a667b0',
    500: '#7d208e',
    950: '#000000',
  },
}
SCSS
$custom: #7d208e;
$custom-light: #a667b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d208e",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 290.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.18094,
    "h": 320.9
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#7D208E
secondary
#60BB4F
accent
#E6425B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D208E

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

Preview Lab → · Contrast checker → · Palette generator →

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