#851B9E#851B9E

#851B9E is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.202 H 318.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#851B9E
RGBrgb(133, 27, 158)
HSLhsl(289, 71%, 36%)
HSVhsv(289, 83%, 62%)
CMYKcmyk(15.8%, 82.9%, 0%, 38%)
CIE-LABlab(34.48, 59.85, -47.42)
CIE-LCHlch(34.48, 76.36, 321.61°)
OKLaboklab(46.2% 0.152 -0.1334)
OKLCHoklch(46.2% 0.202 318.7)
XYZxyz(16.2355, 8.2398, 33.0764)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B9E #349E1B
analogous
#441B9E #851B9E #9E1B76
triadic
#851B9E #9E851B #1B9E85
tetradic
#851B9E #9E441B #349E1B #1B769E
square
#851B9E #9E441B #349E1B #1B769E
split-complementary
#851B9E #769E1B #1B9E44
monochromatic
#2D0935 #59126A #851B9E #B124D2 #C652E1

Accessibility & contrast

On white

7.93
#851B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#851B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B9E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B9E#FFFFFF#000000##FFFFFF
##851B9E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#24549B
Tritanopia (blue-blind)
#843A5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851b9e;
/* rgb */ color: rgb(133, 27, 158);
/* oklch */ color: oklch(46.2% 0.202 318.7);
Tailwind
colors: {
  custom: {
    50: '#ad67bb',
    500: '#851b9e',
    950: '#000000',
  },
}
SCSS
$custom: #851b9e;
$custom-light: #ad67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#851b9e",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 288.55,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.20225,
    "h": 318.7
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#851B9E
secondary
#67C451
accent
#EE3A5C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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