#78176A#78176A

#78176A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.159 H 334.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#78176A
RGBrgb(120, 23, 106)
HSLhsl(309, 68%, 28%)
HSVhsv(309, 81%, 47%)
CMYKcmyk(0%, 80.8%, 11.7%, 52.9%)
CIE-LABlab(28.50, 49.25, -24.60)
CIE-LCHlch(28.50, 55.05, 333.46°)
OKLaboklab(40.48% 0.1437 -0.0673)
OKLCHoklch(40.48% 0.159 334.9)
XYZxyz(10.6538, 5.6474, 14.1618)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78176A #177825
analogous
#551778 #78176A #781739
triadic
#78176A #6A7817 #176A78
tetradic
#78176A #785517 #177825 #173978
square
#78176A #785517 #177825 #173978
split-complementary
#78176A #397817 #177855
monochromatic
#1A0517 #450D3D #78176A #AB2197 #D832C0

Accessibility & contrast

On white

9.86
#78176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#78176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78176A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78176A#FFFFFF#000000##FFFFFF
##78176A1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#3B4868
Tritanopia (blue-blind)
#7E2040
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78176a;
/* rgb */ color: rgb(120, 23, 106);
/* oklch */ color: oklch(40.5% 0.159 334.9);
Tailwind
colors: {
  custom: {
    50: '#a26195',
    500: '#78176a',
    950: '#000000',
  },
}
SCSS
$custom: #78176a;
$custom-light: #a26195;
$custom-dark: #000000;
JSON
{
  "hex": "#78176a",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 308.66,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40476,
    "c": 0.15871,
    "h": 334.9
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#78176A
secondary
#3EAD4E
accent
#EB563D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #78176A

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

Preview Lab → · Contrast checker → · Palette generator →

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