#78208B#78208B

#78208B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 319.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#78208B
RGBrgb(120, 32, 139)
HSLhsl(289, 63%, 34%)
HSVhsv(289, 77%, 55%)
CMYKcmyk(13.7%, 77%, 0%, 45.5%)
CIE-LABlab(31.56, 52.11, -40.59)
CIE-LCHlch(31.56, 66.05, 322.09°)
OKLaboklab(43.3% 0.1345 -0.1139)
OKLCHoklch(43.3% 0.176 319.7)
XYZxyz(12.9219, 6.8908, 25.0705)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78208B #338B20
analogous
#42208B #78208B #8B2068
triadic
#78208B #8B7820 #208B78
tetradic
#78208B #8B4220 #338B20 #20688B
square
#78208B #8B4220 #338B20 #20688B
split-complementary
#78208B #688B20 #208B42
monochromatic
#220928 #4D1559 #78208B #A32BBD #BE4FD6

Accessibility & contrast

On white

8.83
#78208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#78208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78208B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78208B#FFFFFF#000000##FFFFFF
##78208B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#783654
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78208b;
/* rgb */ color: rgb(120, 32, 139);
/* oklch */ color: oklch(43.3% 0.176 319.7);
Tailwind
colors: {
  custom: {
    50: '#a366ad',
    500: '#78208b',
    950: '#000000',
  },
}
SCSS
$custom: #78208b;
$custom-light: #a366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78208b",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 289.346,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.17624,
    "h": 319.7
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#78208B
secondary
#60BA4D
accent
#E6425F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #78208B

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

Preview Lab → · Contrast checker → · Palette generator →

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