#78207F#78207F

#78207F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.166 H 324.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#78207F
RGBrgb(120, 32, 127)
HSLhsl(296, 60%, 31%)
HSVhsv(296, 75%, 50%)
CMYKcmyk(5.5%, 74.8%, 0%, 50.2%)
CIE-LABlab(30.78, 49.83, -34.35)
CIE-LCHlch(30.78, 60.52, 325.42°)
OKLaboklab(42.5% 0.1354 -0.0956)
OKLCHoklch(42.5% 0.166 324.8)
XYZxyz(12.0927, 6.5592, 20.7037)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78207F #277F20
analogous
#48207F #78207F #7F2056
triadic
#78207F #7F7820 #207F78
tetradic
#78207F #7F4820 #277F20 #20567F
square
#78207F #7F4820 #277F20 #20567F
split-complementary
#78207F #567F20 #207F48
monochromatic
#1C071D #4A144E #78207F #A62CB0 #C748D1

Accessibility & contrast

On white

9.08
#78207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78207F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78207F#FFFFFF#000000##FFFFFF
##78207F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#7B304E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78207f;
/* rgb */ color: rgb(120, 32, 127);
/* oklch */ color: oklch(42.5% 0.166 324.8);
Tailwind
colors: {
  custom: {
    50: '#a265a4',
    500: '#78207f',
    950: '#000000',
  },
}
SCSS
$custom: #78207f;
$custom-light: #a265a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78207f",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 295.579,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.16575,
    "h": 324.8
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#78207F
secondary
#51B249
accent
#E34551
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78207F

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

Preview Lab → · Contrast checker → · Palette generator →

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