#851B87#851B87

#851B87 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.184 H 327.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#851B87
RGBrgb(133, 27, 135)
HSLhsl(299, 67%, 32%)
HSVhsv(299, 80%, 53%)
CMYKcmyk(1.5%, 80%, 0%, 47.1%)
CIE-LABlab(32.96, 55.73, -35.73)
CIE-LCHlch(32.96, 66.20, 327.33°)
OKLaboklab(44.65% 0.1546 -0.0993)
OKLCHoklch(44.65% 0.184 327.3)
XYZxyz(14.4378, 7.5207, 23.6082)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B87 #1D871B
analogous
#4F1B87 #851B87 #871B53
triadic
#851B87 #87851B #1B8785
tetradic
#851B87 #874F1B #1D871B #1B5387
square
#851B87 #874F1B #1D871B #1B5387
split-complementary
#851B87 #53871B #1B874F
monochromatic
#210721 #531154 #851B87 #B725BA #D743D9

Accessibility & contrast

On white

8.39
#851B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#851B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B87
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B87#FFFFFF#000000##FFFFFF
##851B871.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#892E51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851b87;
/* rgb */ color: rgb(133, 27, 135);
/* oklch */ color: oklch(44.6% 0.184 327.3);
Tailwind
colors: {
  custom: {
    50: '#ac66aa',
    500: '#851b87',
    950: '#000000',
  },
}
SCSS
$custom: #851b87;
$custom-light: #ac66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#851b87",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 298.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.18368,
    "h": 327.3
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#851B87
secondary
#46BA44
accent
#EA3E41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851B87

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

Preview Lab → · Contrast checker → · Palette generator →

#851B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva