#851E9C#851E9C

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

Color values

HEX#851E9C
RGBrgb(133, 30, 156)
HSLhsl(289, 68%, 36%)
HSVhsv(289, 81%, 61%)
CMYKcmyk(14.7%, 80.8%, 0%, 38.8%)
CIE-LABlab(34.63, 58.62, -45.95)
CIE-LCHlch(34.63, 74.48, 321.91°)
OKLaboklab(46.27% 0.1501 -0.1292)
OKLCHoklch(46.27% 0.198 319.3)
XYZxyz(16.1371, 8.3162, 32.2012)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E9C #359C1E
analogous
#461E9C #851E9C #9C1E74
triadic
#851E9C #9C851E #1E9C85
tetradic
#851E9C #9C461E #359C1E #1E749C
square
#851E9C #9C461E #359C1E #1E749C
split-complementary
#851E9C #749C1E #1E9C46
monochromatic
#2D0A35 #591469 #851E9C #B128CF #C656DE

Accessibility & contrast

On white

7.89
#851E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#851E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851E9C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E9C#FFFFFF#000000##FFFFFF
##851E9C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#285599
Tritanopia (blue-blind)
#853A5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851e9c;
/* rgb */ color: rgb(133, 30, 156);
/* oklch */ color: oklch(46.3% 0.198 319.3);
Tailwind
colors: {
  custom: {
    50: '#ad68ba',
    500: '#851e9c',
    950: '#000000',
  },
}
SCSS
$custom: #851e9c;
$custom-light: #ad68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#851e9c",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 289.048,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.19799,
    "h": 319.3
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#851E9C
secondary
#68C254
accent
#EB3D5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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