#78207E#78207E

#78207E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.165 H 325.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#78207E
RGBrgb(120, 32, 126)
HSLhsl(296, 59%, 31%)
HSVhsv(296, 75%, 49%)
CMYKcmyk(4.8%, 74.6%, 0%, 50.6%)
CIE-LABlab(30.72, 49.65, -33.82)
CIE-LCHlch(30.72, 60.07, 325.74°)
OKLaboklab(42.44% 0.1354 -0.0941)
OKLCHoklch(42.44% 0.165 325.2)
XYZxyz(12.0279, 6.5332, 20.3621)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78207E #267E20
analogous
#49207E #78207E #7E2055
triadic
#78207E #7E7820 #207E78
tetradic
#78207E #7E4920 #267E20 #20557E
square
#78207E #7E4920 #267E20 #20557E
split-complementary
#78207E #557E20 #207E49
monochromatic
#1B071C #4A144D #78207E #A62CAF #C848D0

Accessibility & contrast

On white

9.11
#78207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#78207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78207E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78207E#FFFFFF#000000##FFFFFF
##78207E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044181
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#7B304D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78207e;
/* rgb */ color: rgb(120, 32, 126);
/* oklch */ color: oklch(42.4% 0.165 325.2);
Tailwind
colors: {
  custom: {
    50: '#a265a4',
    500: '#78207e',
    950: '#000000',
  },
}
SCSS
$custom: #78207e;
$custom-light: #a265a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78207e",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 296.17,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.16489,
    "h": 325.2
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#78207E
secondary
#50B149
accent
#E3454F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78207E

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

Preview Lab → · Contrast checker → · Palette generator →

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