#851C97#851C97

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

Color values

HEX#851C97
RGBrgb(133, 28, 151)
HSLhsl(291, 69%, 35%)
HSVhsv(291, 81%, 59%)
CMYKcmyk(11.9%, 81.5%, 0%, 40.8%)
CIE-LABlab(34.09, 58.27, -43.78)
CIE-LCHlch(34.09, 72.89, 323.08°)
OKLaboklab(45.78% 0.1523 -0.1228)
OKLCHoklch(45.78% 0.196 321.1)
XYZxyz(15.6734, 8.0523, 30.0008)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851C97 #2E971C
analogous
#481C97 #851C97 #971C6B
triadic
#851C97 #97851C #1C9785
tetradic
#851C97 #97481C #2E971C #1C6B97
square
#851C97 #97481C #2E971C #1C6B97
split-complementary
#851C97 #6B971C #1C9748
monochromatic
#2A0930 #581263 #851C97 #B226CB #C94FDE

Accessibility & contrast

On white

8.05
#851C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#851C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851C97
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851C97#FFFFFF#000000##FFFFFF
##851C971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851c97;
/* rgb */ color: rgb(133, 28, 151);
/* oklch */ color: oklch(45.8% 0.196 321.1);
Tailwind
colors: {
  custom: {
    50: '#ac67b6',
    500: '#851c97',
    950: '#000000',
  },
}
SCSS
$custom: #851c97;
$custom-light: #ac67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#851c97",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 291.22,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.19564,
    "h": 321.1
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#851C97
secondary
#5FC14E
accent
#EC3C56
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851C97

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

Preview Lab → · Contrast checker → · Palette generator →

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