#78208F#78208F

#78208F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.180 H 318.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#78208F
RGBrgb(120, 32, 143)
HSLhsl(288, 63%, 34%)
HSVhsv(288, 78%, 56%)
CMYKcmyk(16.1%, 77.6%, 0%, 43.9%)
CIE-LABlab(31.83, 52.90, -42.62)
CIE-LCHlch(31.83, 67.93, 321.14°)
OKLaboklab(43.58% 0.134 -0.1198)
OKLCHoklch(43.58% 0.18 318.2)
XYZxyz(13.2195, 7.0099, 26.6380)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78208F #378F20
analogous
#41208F #78208F #8F206F
triadic
#78208F #8F7820 #208F78
tetradic
#78208F #8F4120 #378F20 #206F8F
square
#78208F #8F4120 #378F20 #206F8F
split-complementary
#78208F #6F8F20 #208F41
monochromatic
#240A2B #4E155D #78208F #A22BC1 #BC51D8

Accessibility & contrast

On white

8.74
#78208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#78208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78208F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78208F#FFFFFF#000000##FFFFFF
##78208F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#773857
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78208f;
/* rgb */ color: rgb(120, 32, 143);
/* oklch */ color: oklch(43.6% 0.180 318.2);
Tailwind
colors: {
  custom: {
    50: '#a366b0',
    500: '#78208f',
    950: '#000000',
  },
}
SCSS
$custom: #78208f;
$custom-light: #a366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78208f",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 287.568,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43582,
    "c": 0.17979,
    "h": 318.2
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#78208F
secondary
#66BB4F
accent
#E64164
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #78208F

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

Preview Lab → · Contrast checker → · Palette generator →

#78208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva