#78167F#78167F

#78167F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.176 H 325.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#78167F
RGBrgb(120, 22, 127)
HSLhsl(296, 70%, 29%)
HSVhsv(296, 83%, 50%)
CMYKcmyk(5.5%, 82.7%, 0%, 50.2%)
CIE-LABlab(29.66, 53.05, -36.14)
CIE-LCHlch(29.66, 64.19, 325.74°)
OKLaboklab(41.71% 0.1443 -0.1008)
OKLCHoklch(41.71% 0.176 325.1)
XYZxyz(11.8631, 6.1000, 20.6271)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78167F #1D7F16
analogous
#44167F #78167F #7F1652
triadic
#78167F #7F7816 #167F78
tetradic
#78167F #7F4416 #1D7F16 #16527F
square
#78167F #7F4416 #1D7F16 #16527F
split-complementary
#78167F #527F16 #167F44
monochromatic
#19051A #470D4B #78167F #A91FB3 #D134DC

Accessibility & contrast

On white

9.46
#78167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#78167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78167F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78167F#FFFFFF#000000##FFFFFF
##78167F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#7B2B4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78167f;
/* rgb */ color: rgb(120, 22, 127);
/* oklch */ color: oklch(41.7% 0.176 325.1);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#78167f',
    950: '#000000',
  },
}
SCSS
$custom: #78167f;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#78167f",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 296,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.17597,
    "h": 325.1
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#78167F
secondary
#45B43D
accent
#ED3B46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78167F

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

Preview Lab → · Contrast checker → · Palette generator →

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