#78207A#78207A

#78207A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.161 H 327.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#78207A
RGBrgb(120, 32, 122)
HSLhsl(299, 58%, 30%)
HSVhsv(299, 74%, 48%)
CMYKcmyk(1.6%, 73.8%, 0%, 52.2%)
CIE-LABlab(30.48, 48.92, -31.69)
CIE-LCHlch(30.48, 58.29, 327.07°)
OKLaboklab(42.19% 0.1355 -0.0879)
OKLCHoklch(42.19% 0.161 327)
XYZxyz(11.7749, 6.4320, 19.0299)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78207A #227A20
analogous
#4B207A #78207A #7A204F
triadic
#78207A #7A7820 #207A78
tetradic
#78207A #7A4B20 #227A20 #204F7A
square
#78207A #7A4B20 #227A20 #204F7A
split-complementary
#78207A #4F7A20 #207A4B
monochromatic
#190719 #48134A #78207A #A82DAA #CB46CE

Accessibility & contrast

On white

9.19
#78207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#78207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78207A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78207A#FFFFFF#000000##FFFFFF
##78207A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417D
Deuteranopia (green-blind)
#364C78
Tritanopia (blue-blind)
#7C2E4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78207a;
/* rgb */ color: rgb(120, 32, 122);
/* oklch */ color: oklch(42.2% 0.161 327.0);
Tailwind
colors: {
  custom: {
    50: '#a265a1',
    500: '#78207a',
    950: '#000000',
  },
}
SCSS
$custom: #78207a;
$custom-light: #a265a1;
$custom-dark: #000000;
JSON
{
  "hex": "#78207a",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 298.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42186,
    "c": 0.16148,
    "h": 327
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#78207A
secondary
#4BAD49
accent
#E2464A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #78207A

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

Preview Lab → · Contrast checker → · Palette generator →

#78207A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva