#851987#851987

#851987 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.185 H 327.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#851987
RGBrgb(133, 25, 135)
HSLhsl(299, 69%, 31%)
HSVhsv(299, 81%, 53%)
CMYKcmyk(1.5%, 81.5%, 0%, 47.1%)
CIE-LABlab(32.77, 56.29, -36.04)
CIE-LCHlch(32.77, 66.84, 327.37°)
OKLaboklab(44.51% 0.1561 -0.1001)
OKLCHoklch(44.51% 0.185 327.3)
XYZxyz(14.3935, 7.4321, 23.5934)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851987 #1B8719
analogous
#4E1987 #851987 #871952
triadic
#851987 #878519 #198785
tetradic
#851987 #874E19 #1B8719 #195287
square
#851987 #874E19 #1B8719 #195287
split-complementary
#851987 #528719 #19874E
monochromatic
#1F0620 #520F53 #851987 #B823BB #D93FDB

Accessibility & contrast

On white

8.45
#851987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#851987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851987
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851987#FFFFFF#000000##FFFFFF
##8519871.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#892D51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #851987;
/* rgb */ color: rgb(133, 25, 135);
/* oklch */ color: oklch(44.5% 0.185 327.3);
Tailwind
colors: {
  custom: {
    50: '#ac65aa',
    500: '#851987',
    950: '#000000',
  },
}
SCSS
$custom: #851987;
$custom-light: #ac65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#851987",
  "rgb": {
    "r": 133,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 298.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44513,
    "c": 0.18548,
    "h": 327.3
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#851987
secondary
#44BA41
accent
#EC3C3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851987

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

Preview Lab → · Contrast checker → · Palette generator →

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