#851B82#851B82

#851B82 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.180 H 329.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#851B82
RGBrgb(133, 27, 130)
HSLhsl(302, 66%, 31%)
HSVhsv(302, 80%, 52%)
CMYKcmyk(0%, 79.7%, 2.3%, 47.8%)
CIE-LABlab(32.66, 54.89, -33.10)
CIE-LCHlch(32.66, 64.10, 328.91°)
OKLaboklab(44.34% 0.1547 -0.0916)
OKLCHoklch(44.34% 0.18 329.4)
XYZxyz(14.0940, 7.3832, 21.7976)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B82 #1B851E
analogous
#531B85 #851B82 #851B4D
triadic
#851B82 #82851B #1B8285
tetradic
#851B82 #85531B #1B851E #1B4D85
square
#851B82 #85531B #1B851E #1B4D85
split-complementary
#851B82 #4D851B #1B8553
monochromatic
#1F061F #521150 #851B82 #B825B4 #D942D4

Accessibility & contrast

On white

8.48
#851B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#851B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B82
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B82#FFFFFF#000000##FFFFFF
##851B821.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054485
Deuteranopia (green-blind)
#3C527F
Tritanopia (blue-blind)
#8A2C4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #851b82;
/* rgb */ color: rgb(133, 27, 130);
/* oklch */ color: oklch(44.3% 0.180 329.4);
Tailwind
colors: {
  custom: {
    50: '#ac65a7',
    500: '#851b82',
    950: '#000000',
  },
}
SCSS
$custom: #851b82;
$custom-light: #ac65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#851b82",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 301.698,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.17979,
    "h": 329.4
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#851B82
secondary
#44B847
accent
#E9433F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #851B82

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

Preview Lab → · Contrast checker → · Palette generator →

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