#861978#861978

#861978 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.175 H 334.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#861978
RGBrgb(134, 25, 120)
HSLhsl(308, 69%, 31%)
HSVhsv(308, 81%, 53%)
CMYKcmyk(0%, 81.3%, 10.4%, 47.5%)
CIE-LABlab(32.08, 54.08, -27.73)
CIE-LCHlch(32.08, 60.77, 332.86°)
OKLaboklab(43.77% 0.1573 -0.076)
OKLCHoklch(43.77% 0.175 334.2)
XYZxyz(13.5695, 7.1209, 18.4255)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861978 #198627
analogous
#5D1986 #861978 #861941
triadic
#861978 #788619 #197886
tetradic
#861978 #865D19 #198627 #194186
square
#861978 #865D19 #198627 #194186
split-complementary
#861978 #418619 #19865D
monochromatic
#1F061C #520F4A #861978 #BA23A6 #DB3EC7

Accessibility & contrast

On white

8.66
#861978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#861978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861978
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861978#FFFFFF#000000##FFFFFF
##8619781.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#8D2548
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #861978;
/* rgb */ color: rgb(134, 25, 120);
/* oklch */ color: oklch(43.8% 0.175 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad649f',
    500: '#861978',
    950: '#000000',
  },
}
SCSS
$custom: #861978;
$custom-light: #ad649f;
$custom-dark: #000000;
JSON
{
  "hex": "#861978",
  "rgb": {
    "r": 134,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 307.706,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43774,
    "c": 0.17469,
    "h": 334.2
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#861978
secondary
#41BA51
accent
#EB533C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861978

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

Preview Lab → · Contrast checker → · Palette generator →

#861978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva