#78209E#78209E

#78209E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.193 H 312.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#78209E
RGBrgb(120, 32, 158)
HSLhsl(282, 66%, 37%)
HSVhsv(282, 80%, 62%)
CMYKcmyk(24.1%, 79.7%, 0%, 38%)
CIE-LABlab(32.91, 55.94, -50.05)
CIE-LCHlch(32.91, 75.06, 318.18°)
OKLaboklab(44.68% 0.1315 -0.1417)
OKLCHoklch(44.68% 0.193 312.9)
XYZxyz(14.4327, 7.4952, 33.0276)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78209E #469E20
analogous
#39209E #78209E #9E2085
triadic
#78209E #9E7820 #209E78
tetradic
#78209E #9E3920 #469E20 #20859E
square
#78209E #9E3920 #469E20 #20859E
split-complementary
#78209E #859E20 #209E39
monochromatic
#2B0B38 #51166B #78209E #9F2AD1 #B65BDE

Accessibility & contrast

On white

8.40
#78209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#78209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78209E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78209E#FFFFFF#000000##FFFFFF
##78209E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#743F5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78209e;
/* rgb */ color: rgb(120, 32, 158);
/* oklch */ color: oklch(44.7% 0.193 312.9);
Tailwind
colors: {
  custom: {
    50: '#a367bb',
    500: '#78209e',
    950: '#000000',
  },
}
SCSS
$custom: #78209e;
$custom-light: #a367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78209e",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 281.905,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44684,
    "c": 0.19329,
    "h": 312.9
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#78209E
secondary
#78C258
accent
#E93F72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78209E

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

Preview Lab → · Contrast checker → · Palette generator →

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