#7D208B#7D208B

#7D208B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 322.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7D208B
RGBrgb(125, 32, 139)
HSLhsl(292, 63%, 34%)
HSVhsv(292, 77%, 55%)
CMYKcmyk(10.1%, 77%, 0%, 45.5%)
CIE-LABlab(32.39, 53.17, -39.21)
CIE-LCHlch(32.39, 66.07, 323.59°)
OKLaboklab(44.06% 0.1406 -0.1097)
OKLCHoklch(44.06% 0.178 322)
XYZxyz(13.6337, 7.2579, 25.1039)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D208B #2E8B20
analogous
#47208B #7D208B #8B2063
triadic
#7D208B #8B7D20 #208B7D
tetradic
#7D208B #8B4720 #2E8B20 #20638B
square
#7D208B #8B4720 #2E8B20 #20638B
split-complementary
#7D208B #638B20 #208B47
monochromatic
#240928 #501559 #7D208B #AA2BBD #C54FD6

Accessibility & contrast

On white

8.57
#7D208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D208B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D208B#FFFFFF#000000##FFFFFF
##7D208B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#7E3554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d208b;
/* rgb */ color: rgb(125, 32, 139);
/* oklch */ color: oklch(44.1% 0.178 322.0);
Tailwind
colors: {
  custom: {
    50: '#a666ad',
    500: '#7d208b',
    950: '#000000',
  },
}
SCSS
$custom: #7d208b;
$custom-light: #a666ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d208b",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 292.15,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44055,
    "c": 0.17836,
    "h": 322
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#7D208B
secondary
#5BBA4D
accent
#E64258
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D208B

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

Preview Lab → · Contrast checker → · Palette generator →

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