#851C8A#851C8A

#851C8A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 326.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#851C8A
RGBrgb(133, 28, 138)
HSLhsl(297, 66%, 33%)
HSVhsv(297, 80%, 54%)
CMYKcmyk(3.6%, 79.7%, 0%, 45.9%)
CIE-LABlab(33.25, 55.95, -37.14)
CIE-LCHlch(33.25, 67.16, 326.43°)
OKLaboklab(44.91% 0.1536 -0.1034)
OKLCHoklch(44.91% 0.185 326.1)
XYZxyz(14.6753, 7.6531, 24.7441)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851C8A #218A1C
analogous
#4E1C8A #851C8A #8A1C58
triadic
#851C8A #8A851C #1C8A85
tetradic
#851C8A #8A4E1C #218A1C #1C588A
square
#851C8A #8A4E1C #218A1C #1C588A
split-complementary
#851C8A #588A1C #1C8A4E
monochromatic
#230724 #541257 #851C8A #B626BD #D347DA

Accessibility & contrast

On white

8.30
#851C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#851C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851C8A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851C8A#FFFFFF#000000##FFFFFF
##851C8A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#375387
Tritanopia (blue-blind)
#883053
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851c8a;
/* rgb */ color: rgb(133, 28, 138);
/* oklch */ color: oklch(44.9% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#ac66ad',
    500: '#851c8a',
    950: '#000000',
  },
}
SCSS
$custom: #851c8a;
$custom-light: #ac66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851c8a",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 297.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.18511,
    "h": 326.1
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#851C8A
secondary
#4CBB46
accent
#E93F46
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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