#851D97#851D97

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

Color values

HEX#851D97
RGBrgb(133, 29, 151)
HSLhsl(291, 68%, 35%)
HSVhsv(291, 81%, 59%)
CMYKcmyk(11.9%, 80.8%, 0%, 40.8%)
CIE-LABlab(34.19, 57.98, -43.62)
CIE-LCHlch(34.19, 72.56, 323.05°)
OKLaboklab(45.85% 0.1515 -0.1223)
OKLCHoklch(45.85% 0.195 321.1)
XYZxyz(15.6975, 8.1005, 30.0089)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851D97 #2F971D
analogous
#481D97 #851D97 #971D6C
triadic
#851D97 #97851D #1D9785
tetradic
#851D97 #97481D #2F971D #1D6C97
square
#851D97 #97481D #2F971D #1D6C97
split-complementary
#851D97 #6C971D #1D9748
monochromatic
#2B0930 #581364 #851D97 #B227CA #C951DE

Accessibility & contrast

On white

8.02
#851D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#851D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851D97
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851D97#FFFFFF#000000##FFFFFF
##851D971.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#86375B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #851d97;
/* rgb */ color: rgb(133, 29, 151);
/* oklch */ color: oklch(45.8% 0.195 321.1);
Tailwind
colors: {
  custom: {
    50: '#ac67b6',
    500: '#851d97',
    950: '#000000',
  },
}
SCSS
$custom: #851d97;
$custom-light: #ac67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#851d97",
  "rgb": {
    "r": 133,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 291.148,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.19475,
    "h": 321.1
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#851D97
secondary
#60C04F
accent
#EB3D57
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851D97

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

Preview Lab → · Contrast checker → · Palette generator →

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