#851F87#851F87

#851F87 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.180 H 327.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#851F87
RGBrgb(133, 31, 135)
HSLhsl(299, 63%, 33%)
HSVhsv(299, 77%, 53%)
CMYKcmyk(1.5%, 77%, 0%, 47.1%)
CIE-LABlab(33.39, 54.51, -35.06)
CIE-LCHlch(33.39, 64.81, 327.25°)
OKLaboklab(44.95% 0.1511 -0.0973)
OKLCHoklch(44.95% 0.18 327.2)
XYZxyz(14.5358, 7.7168, 23.6409)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F87 #21871F
analogous
#511F87 #851F87 #871F55
triadic
#851F87 #87851F #1F8785
tetradic
#851F87 #87511F #21871F #1F5587
square
#851F87 #87511F #21871F #1F5587
split-complementary
#851F87 #55871F #1F8751
monochromatic
#230823 #541455 #851F87 #B62AB9 #D34BD6

Accessibility & contrast

On white

8.26
#851F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#851F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F87
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F87#FFFFFF#000000##FFFFFF
##851F871.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02468A
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#893052
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851f87;
/* rgb */ color: rgb(133, 31, 135);
/* oklch */ color: oklch(45.0% 0.180 327.2);
Tailwind
colors: {
  custom: {
    50: '#ac67aa',
    500: '#851f87',
    950: '#000000',
  },
}
SCSS
$custom: #851f87;
$custom-light: #ac67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#851f87",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 298.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.17976,
    "h": 327.2
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#851F87
secondary
#4CB84A
accent
#E64245
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851F87

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

Preview Lab → · Contrast checker → · Palette generator →

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