#851B9F#851B9F

#851B9F is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.203 H 318.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#851B9F
RGBrgb(133, 27, 159)
HSLhsl(288, 71%, 36%)
HSVhsv(288, 83%, 62%)
CMYKcmyk(16.4%, 83%, 0%, 37.6%)
CIE-LABlab(34.55, 60.04, -47.91)
CIE-LCHlch(34.55, 76.81, 321.41°)
OKLaboklab(46.27% 0.1518 -0.1349)
OKLCHoklch(46.27% 0.203 318.4)
XYZxyz(16.3219, 8.2744, 33.5315)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B9F #359F1B
analogous
#431B9F #851B9F #9F1B77
triadic
#851B9F #9F851B #1B9F85
tetradic
#851B9F #9F431B #359F1B #1B779F
square
#851B9F #9F431B #359F1B #1B779F
split-complementary
#851B9F #779F1B #1B9F43
monochromatic
#2D0936 #59126B #851B9F #B124D3 #C653E2

Accessibility & contrast

On white

7.91
#851B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851B9F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B9F#FFFFFF#000000##FFFFFF
##851B9F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#23549C
Tritanopia (blue-blind)
#843A5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851b9f;
/* rgb */ color: rgb(133, 27, 159);
/* oklch */ color: oklch(46.3% 0.203 318.4);
Tailwind
colors: {
  custom: {
    50: '#ad67bc',
    500: '#851b9f',
    950: '#000000',
  },
}
SCSS
$custom: #851b9f;
$custom-light: #ad67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#851b9f",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 288.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.20307,
    "h": 318.4
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#851B9F
secondary
#68C551
accent
#EE3A5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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