#851E97#851E97

#851E97 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.194 H 321.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#851E97
RGBrgb(133, 30, 151)
HSLhsl(291, 67%, 35%)
HSVhsv(291, 80%, 59%)
CMYKcmyk(11.9%, 80.1%, 0%, 40.8%)
CIE-LABlab(34.29, 57.69, -43.45)
CIE-LCHlch(34.29, 72.22, 323.01°)
OKLaboklab(45.92% 0.1507 -0.1218)
OKLCHoklch(45.92% 0.194 321.1)
XYZxyz(15.7224, 8.1503, 30.0172)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E97 #30971E
analogous
#481E97 #851E97 #971E6D
triadic
#851E97 #97851E #1E9785
tetradic
#851E97 #97481E #30971E #1E6D97
square
#851E97 #97481E #30971E #1E6D97
split-complementary
#851E97 #6D971E #1E9748
monochromatic
#2B0A31 #581464 #851E97 #B228CA #C853DD

Accessibility & contrast

On white

7.99
#851E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#851E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851E97
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E97#FFFFFF#000000##FFFFFF
##851E971.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#86385B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851e97;
/* rgb */ color: rgb(133, 30, 151);
/* oklch */ color: oklch(45.9% 0.194 321.1);
Tailwind
colors: {
  custom: {
    50: '#ac67b6',
    500: '#851e97',
    950: '#000000',
  },
}
SCSS
$custom: #851e97;
$custom-light: #ac67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#851e97",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 291.074,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.19382,
    "h": 321.1
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#851E97
secondary
#61C051
accent
#EA3E58
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851E97

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

Preview Lab → · Contrast checker → · Palette generator →

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