#851B97#851B97

#851B97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.197 H 321.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#851B97
RGBrgb(133, 27, 151)
HSLhsl(291, 70%, 35%)
HSVhsv(291, 82%, 59%)
CMYKcmyk(11.9%, 82.1%, 0%, 40.8%)
CIE-LABlab(33.99, 58.56, -43.93)
CIE-LCHlch(33.99, 73.20, 323.12°)
OKLaboklab(45.71% 0.1531 -0.1232)
OKLCHoklch(45.71% 0.197 321.2)
XYZxyz(15.6501, 8.0057, 29.9931)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B97 #2D971B
analogous
#471B97 #851B97 #971B6B
triadic
#851B97 #97851B #1B9785
tetradic
#851B97 #97471B #2D971B #1B6B97
square
#851B97 #97471B #2D971B #1B6B97
split-complementary
#851B97 #6B971B #1B9747
monochromatic
#2A082F #571263 #851B97 #B324CB #CA4DDF

Accessibility & contrast

On white

8.07
#851B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#851B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B97
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B97#FFFFFF#000000##FFFFFF
##851B971.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851b97;
/* rgb */ color: rgb(133, 27, 151);
/* oklch */ color: oklch(45.7% 0.197 321.2);
Tailwind
colors: {
  custom: {
    50: '#ad66b6',
    500: '#851b97',
    950: '#000000',
  },
}
SCSS
$custom: #851b97;
$custom-light: #ad66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#851b97",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 291.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.1965,
    "h": 321.2
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#851B97
secondary
#5DC14C
accent
#EC3B55
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851B97

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

Preview Lab → · Contrast checker → · Palette generator →

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