#78209B#78209B

#78209B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.191 H 313.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#78209B
RGBrgb(120, 32, 155)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 79%, 61%)
CMYKcmyk(22.6%, 79.4%, 0%, 39.2%)
CIE-LABlab(32.69, 55.32, -48.59)
CIE-LCHlch(32.69, 73.63, 318.70°)
OKLaboklab(44.46% 0.1321 -0.1374)
OKLCHoklch(44.46% 0.191 313.9)
XYZxyz(14.1776, 7.3931, 31.6842)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78209B #439B20
analogous
#3B209B #78209B #9B2081
triadic
#78209B #9B7820 #209B78
tetradic
#78209B #9B3B20 #439B20 #20819B
square
#78209B #9B3B20 #439B20 #20819B
split-complementary
#78209B #819B20 #209B3B
monochromatic
#290B36 #511668 #78209B #9F2ACE #B759DD

Accessibility & contrast

On white

8.47
#78209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#78209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78209B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78209B#FFFFFF#000000##FFFFFF
##78209B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#134F98
Tritanopia (blue-blind)
#743D5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78209b;
/* rgb */ color: rgb(120, 32, 155);
/* oklch */ color: oklch(44.5% 0.191 313.9);
Tailwind
colors: {
  custom: {
    50: '#a367b9',
    500: '#78209b',
    950: '#000000',
  },
}
SCSS
$custom: #78209b;
$custom-light: #a367b9;
$custom-dark: #000000;
JSON
{
  "hex": "#78209b",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 282.927,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.19057,
    "h": 313.9
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#78209B
secondary
#74C156
accent
#E93F6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78209B

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

Preview Lab → · Contrast checker → · Palette generator →

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