#78209C#78209C

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

Color values

HEX#78209C
RGBrgb(120, 32, 156)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 79%, 61%)
CMYKcmyk(23.1%, 79.5%, 0%, 38.8%)
CIE-LABlab(32.76, 55.52, -49.08)
CIE-LCHlch(32.76, 74.11, 318.52°)
OKLaboklab(44.53% 0.1319 -0.1388)
OKLCHoklch(44.53% 0.191 313.5)
XYZxyz(14.2619, 7.4269, 32.1283)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78209C #449C20
analogous
#3A209C #78209C #9C2082
triadic
#78209C #9C7820 #209C78
tetradic
#78209C #9C3A20 #449C20 #20829C
square
#78209C #9C3A20 #449C20 #20829C
split-complementary
#78209C #829C20 #209C3A
monochromatic
#2A0B36 #511669 #78209C #9F2ACF #B759DD

Accessibility & contrast

On white

8.45
#78209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#78209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78209C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78209C#FFFFFF#000000##FFFFFF
##78209C1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#114F99
Tritanopia (blue-blind)
#743E5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78209c;
/* rgb */ color: rgb(120, 32, 156);
/* oklch */ color: oklch(44.5% 0.191 313.5);
Tailwind
colors: {
  custom: {
    50: '#a367ba',
    500: '#78209c',
    950: '#000000',
  },
}
SCSS
$custom: #78209c;
$custom-light: #a367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78209c",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 282.581,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.19148,
    "h": 313.5
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#78209C
secondary
#76C157
accent
#E93F70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78209C

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

Preview Lab → · Contrast checker → · Palette generator →

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