#78208E#78208E

#78208E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.179 H 318.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#78208E
RGBrgb(120, 32, 142)
HSLhsl(288, 63%, 34%)
HSVhsv(288, 77%, 56%)
CMYKcmyk(15.5%, 77.5%, 0%, 44.3%)
CIE-LABlab(31.76, 52.70, -42.12)
CIE-LCHlch(31.76, 67.46, 321.37°)
OKLaboklab(43.51% 0.1342 -0.1183)
OKLCHoklch(43.51% 0.179 318.6)
XYZxyz(13.1441, 6.9797, 26.2408)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78208E #368E20
analogous
#41208E #78208E #8E206D
triadic
#78208E #8E7820 #208E78
tetradic
#78208E #8E4120 #368E20 #206D8E
square
#78208E #8E4120 #368E20 #206D8E
split-complementary
#78208E #6D8E20 #208E41
monochromatic
#24092A #4E155C #78208E #A22BC0 #BD51D8

Accessibility & contrast

On white

8.77
#78208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78208E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78208E#FFFFFF#000000##FFFFFF
##78208E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#783756
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78208e;
/* rgb */ color: rgb(120, 32, 142);
/* oklch */ color: oklch(43.5% 0.179 318.6);
Tailwind
colors: {
  custom: {
    50: '#a366b0',
    500: '#78208e',
    950: '#000000',
  },
}
SCSS
$custom: #78208e;
$custom-light: #a366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78208e",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 288,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43511,
    "c": 0.17889,
    "h": 318.6
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#78208E
secondary
#64BB4F
accent
#E64262
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #78208E

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

Preview Lab → · Contrast checker → · Palette generator →

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