#78167D#78167D

#78167D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.174 H 325.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#78167D
RGBrgb(120, 22, 125)
HSLhsl(297, 70%, 29%)
HSVhsv(297, 82%, 49%)
CMYKcmyk(4%, 82.4%, 0%, 51%)
CIE-LABlab(29.53, 52.70, -35.08)
CIE-LCHlch(29.53, 63.31, 326.35°)
OKLaboklab(41.57% 0.1444 -0.0977)
OKLCHoklch(41.57% 0.174 325.9)
XYZxyz(11.7341, 6.0484, 19.9475)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78167D #1B7D16
analogous
#45167D #78167D #7D164F
triadic
#78167D #7D7816 #167D78
tetradic
#78167D #7D4516 #1B7D16 #164F7D
square
#78167D #7D4516 #1B7D16 #164F7D
split-complementary
#78167D #4F7D16 #167D45
monochromatic
#19051A #460D49 #78167D #AA1FB1 #D332DB

Accessibility & contrast

On white

9.50
#78167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#78167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78167D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78167D#FFFFFF#000000##FFFFFF
##78167D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#7B2A4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78167d;
/* rgb */ color: rgb(120, 22, 125);
/* oklch */ color: oklch(41.6% 0.174 325.9);
Tailwind
colors: {
  custom: {
    50: '#a361a3',
    500: '#78167d',
    950: '#000000',
  },
}
SCSS
$custom: #78167d;
$custom-light: #a361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78167d",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 297.087,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.17437,
    "h": 325.9
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#78167D
secondary
#43B23D
accent
#ED3B44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78167D

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

Preview Lab → · Contrast checker → · Palette generator →

#78167D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva