#851E9D#851E9D

#851E9D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.199 H 318.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#851E9D
RGBrgb(133, 30, 157)
HSLhsl(289, 68%, 37%)
HSVhsv(289, 81%, 62%)
CMYKcmyk(15.3%, 80.9%, 0%, 38.4%)
CIE-LABlab(34.70, 58.81, -46.45)
CIE-LCHlch(34.70, 74.94, 321.70°)
OKLaboklab(46.34% 0.1499 -0.1306)
OKLCHoklch(46.34% 0.199 318.9)
XYZxyz(16.2221, 8.3502, 32.6490)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E9D #369D1E
analogous
#451E9D #851E9D #9D1E76
triadic
#851E9D #9D851E #1E9D85
tetradic
#851E9D #9D451E #369D1E #1E769D
square
#851E9D #9D451E #369D1E #1E769D
split-complementary
#851E9D #769D1E #1E9D45
monochromatic
#2E0A36 #59146A #851E9D #B128D0 #C557DF

Accessibility & contrast

On white

7.87
#851E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#851E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851E9D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E9D#FFFFFF#000000##FFFFFF
##851E9D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#27559A
Tritanopia (blue-blind)
#853B5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #851e9d;
/* rgb */ color: rgb(133, 30, 157);
/* oklch */ color: oklch(46.3% 0.199 318.9);
Tailwind
colors: {
  custom: {
    50: '#ad68bb',
    500: '#851e9d',
    950: '#000000',
  },
}
SCSS
$custom: #851e9d;
$custom-light: #ad68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#851e9d",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 288.661,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.19883,
    "h": 318.9
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#851E9D
secondary
#69C254
accent
#EB3D5E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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