#851B96#851B96

#851B96 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.196 H 321.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#851B96
RGBrgb(133, 27, 150)
HSLhsl(292, 69%, 35%)
HSVhsv(292, 82%, 59%)
CMYKcmyk(11.3%, 82%, 0%, 41.2%)
CIE-LABlab(33.93, 58.37, -43.43)
CIE-LCHlch(33.93, 72.76, 323.35°)
OKLaboklab(45.64% 0.1532 -0.1218)
OKLCHoklch(45.64% 0.196 321.5)
XYZxyz(15.5692, 7.9733, 29.5672)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B96 #2C961B
analogous
#471B96 #851B96 #961B6A
triadic
#851B96 #96851B #1B9685
tetradic
#851B96 #96471B #2C961B #1B6A96
square
#851B96 #96471B #2C961B #1B6A96
split-complementary
#851B96 #6A961B #1B9647
monochromatic
#29082E #571262 #851B96 #B324CA #CB4DDF

Accessibility & contrast

On white

8.09
#851B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#851B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B96
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B96#FFFFFF#000000##FFFFFF
##851B961.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#86365A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #851b96;
/* rgb */ color: rgb(133, 27, 150);
/* oklch */ color: oklch(45.6% 0.196 321.5);
Tailwind
colors: {
  custom: {
    50: '#ac66b5',
    500: '#851b96',
    950: '#000000',
  },
}
SCSS
$custom: #851b96;
$custom-light: #ac66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#851b96",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 291.707,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4564,
    "c": 0.19569,
    "h": 321.5
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#851B96
secondary
#5CC14C
accent
#EC3B54
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851B96

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

Preview Lab → · Contrast checker → · Palette generator →

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