#851978#851978

#851978 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 333.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#851978
RGBrgb(133, 25, 120)
HSLhsl(307, 68%, 31%)
HSVhsv(307, 81%, 52%)
CMYKcmyk(0%, 81.2%, 9.8%, 47.8%)
CIE-LABlab(31.90, 53.85, -28.03)
CIE-LCHlch(31.90, 60.71, 332.50°)
OKLaboklab(43.61% 0.1563 -0.0769)
OKLCHoklch(43.61% 0.174 333.8)
XYZxyz(13.4108, 7.0391, 18.4180)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851978 #198526
analogous
#5C1985 #851978 #851942
triadic
#851978 #788519 #197885
tetradic
#851978 #855C19 #198526 #194285
square
#851978 #855C19 #198526 #194285
split-complementary
#851978 #428519 #19855C
monochromatic
#1E061B #510F4A #851978 #B923A6 #DB3EC8

Accessibility & contrast

On white

8.72
#851978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#851978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851978
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851978#FFFFFF#000000##FFFFFF
##8519781.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15417A
Deuteranopia (green-blind)
#405076
Tritanopia (blue-blind)
#8B2548
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #851978;
/* rgb */ color: rgb(133, 25, 120);
/* oklch */ color: oklch(43.6% 0.174 333.8);
Tailwind
colors: {
  custom: {
    50: '#ac649f',
    500: '#851978',
    950: '#000000',
  },
}
SCSS
$custom: #851978;
$custom-light: #ac649f;
$custom-dark: #000000;
JSON
{
  "hex": "#851978",
  "rgb": {
    "r": 133,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 307.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.17416,
    "h": 333.8
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#851978
secondary
#41B950
accent
#EB523D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851978

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

Preview Lab → · Contrast checker → · Palette generator →

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