#851E9E#851E9E

#851E9E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.200 H 318.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#851E9E
RGBrgb(133, 30, 158)
HSLhsl(288, 68%, 37%)
HSVhsv(288, 81%, 62%)
CMYKcmyk(15.8%, 81%, 0%, 38%)
CIE-LABlab(34.77, 59.00, -46.94)
CIE-LCHlch(34.77, 75.39, 321.49°)
OKLaboklab(46.41% 0.1498 -0.1321)
OKLCHoklch(46.41% 0.2 318.6)
XYZxyz(16.3078, 8.3845, 33.1005)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E9E #379E1E
analogous
#451E9E #851E9E #9E1E77
triadic
#851E9E #9E851E #1E9E85
tetradic
#851E9E #9E451E #379E1E #1E779E
square
#851E9E #9E451E #379E1E #1E779E
split-complementary
#851E9E #779E1E #1E9E45
monochromatic
#2E0A37 #5A146B #851E9E #B028D1 #C557DF

Accessibility & contrast

On white

7.85
#851E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#851E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851E9E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E9E#FFFFFF#000000##FFFFFF
##851E9E1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#843B5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #851e9e;
/* rgb */ color: rgb(133, 30, 158);
/* oklch */ color: oklch(46.4% 0.200 318.6);
Tailwind
colors: {
  custom: {
    50: '#ad68bb',
    500: '#851e9e',
    950: '#000000',
  },
}
SCSS
$custom: #851e9e;
$custom-light: #ad68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#851e9e",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 288.281,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.19968,
    "h": 318.6
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#851E9E
secondary
#6AC355
accent
#EB3D5F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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