#78208C#78208C

#78208C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.177 H 319.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#78208C
RGBrgb(120, 32, 140)
HSLhsl(289, 63%, 34%)
HSVhsv(289, 77%, 55%)
CMYKcmyk(14.3%, 77.1%, 0%, 45.1%)
CIE-LABlab(31.62, 52.31, -41.10)
CIE-LCHlch(31.62, 66.52, 321.84°)
OKLaboklab(43.37% 0.1344 -0.1154)
OKLCHoklch(43.37% 0.177 319.4)
XYZxyz(12.9953, 6.9202, 25.4571)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78208C #348C20
analogous
#42208C #78208C #8C206A
triadic
#78208C #8C7820 #208C78
tetradic
#78208C #8C4220 #348C20 #206A8C
square
#78208C #8C4220 #348C20 #206A8C
split-complementary
#78208C #6A8C20 #208C42
monochromatic
#230928 #4D155A #78208C #A32BBE #BE50D7

Accessibility & contrast

On white

8.81
#78208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78208C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78208C#FFFFFF#000000##FFFFFF
##78208C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#783655
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #78208c;
/* rgb */ color: rgb(120, 32, 140);
/* oklch */ color: oklch(43.4% 0.177 319.4);
Tailwind
colors: {
  custom: {
    50: '#a366ae',
    500: '#78208c',
    950: '#000000',
  },
}
SCSS
$custom: #78208c;
$custom-light: #a366ae;
$custom-dark: #000000;
JSON
{
  "hex": "#78208c",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 288.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.17712,
    "h": 319.4
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#78208C
secondary
#62BA4E
accent
#E64260
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #78208C

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

Preview Lab → · Contrast checker → · Palette generator →

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