#851A87#851A87

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

Color values

HEX#851A87
RGBrgb(133, 26, 135)
HSLhsl(299, 68%, 32%)
HSVhsv(299, 81%, 53%)
CMYKcmyk(1.5%, 80.7%, 0%, 47.1%)
CIE-LABlab(32.87, 56.01, -35.89)
CIE-LCHlch(32.87, 66.52, 327.35°)
OKLaboklab(44.58% 0.1553 -0.0997)
OKLCHoklch(44.58% 0.185 327.3)
XYZxyz(14.4152, 7.4757, 23.6007)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A87 #1C871A
analogous
#4F1A87 #851A87 #871A53
triadic
#851A87 #87851A #1A8785
tetradic
#851A87 #874F1A #1C871A #1A5387
square
#851A87 #874F1A #1C871A #1A5387
split-complementary
#851A87 #53871A #1A874F
monochromatic
#200620 #521054 #851A87 #B824BA #D841DA

Accessibility & contrast

On white

8.42
#851A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#851A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A87
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A87#FFFFFF#000000##FFFFFF
##851A871.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851a87;
/* rgb */ color: rgb(133, 26, 135);
/* oklch */ color: oklch(44.6% 0.185 327.3);
Tailwind
colors: {
  custom: {
    50: '#ac65aa',
    500: '#851a87',
    950: '#000000',
  },
}
SCSS
$custom: #851a87;
$custom-light: #ac65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#851a87",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 298.899,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44581,
    "c": 0.1846,
    "h": 327.3
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#851A87
secondary
#45BA42
accent
#EB3D40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851A87

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

Preview Lab → · Contrast checker → · Palette generator →

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