#78209F#78209F

#78209F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.194 H 312.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#78209F
RGBrgb(120, 32, 159)
HSLhsl(282, 66%, 37%)
HSVhsv(282, 80%, 62%)
CMYKcmyk(24.5%, 79.9%, 0%, 37.6%)
CIE-LABlab(32.98, 56.15, -50.54)
CIE-LCHlch(32.98, 75.54, 318.01°)
OKLaboklab(44.76% 0.1313 -0.1431)
OKLCHoklch(44.76% 0.194 312.5)
XYZxyz(14.5191, 7.5297, 33.4827)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78209F #479F20
analogous
#39209F #78209F #9F2086
triadic
#78209F #9F7820 #209F78
tetradic
#78209F #9F3920 #479F20 #20869F
square
#78209F #9F3920 #479F20 #20869F
split-complementary
#78209F #869F20 #209F39
monochromatic
#2B0B39 #52166C #78209F #9E2AD2 #B65BDE

Accessibility & contrast

On white

8.38
#78209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78209F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78209F#FFFFFF#000000##FFFFFF
##78209F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#733F60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78209f;
/* rgb */ color: rgb(120, 32, 159);
/* oklch */ color: oklch(44.8% 0.194 312.5);
Tailwind
colors: {
  custom: {
    50: '#a467bc',
    500: '#78209f',
    950: '#000000',
  },
}
SCSS
$custom: #78209f;
$custom-light: #a467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78209f",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 281.575,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.19419,
    "h": 312.5
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#78209F
secondary
#79C259
accent
#E93E73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78209F

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

Preview Lab → · Contrast checker → · Palette generator →

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