#851C8B#851C8B

#851C8B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 325.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#851C8B
RGBrgb(133, 28, 139)
HSLhsl(297, 66%, 33%)
HSVhsv(297, 80%, 55%)
CMYKcmyk(4.3%, 79.9%, 0%, 45.5%)
CIE-LABlab(33.31, 56.13, -37.66)
CIE-LCHlch(33.31, 67.59, 326.14°)
OKLaboklab(44.98% 0.1535 -0.1049)
OKLCHoklch(44.98% 0.186 325.7)
XYZxyz(14.7480, 7.6821, 25.1271)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851C8B #228B1C
analogous
#4E1C8B #851C8B #8B1C59
triadic
#851C8B #8B851C #1C8B85
tetradic
#851C8B #8B4E1C #228B1C #1C598B
square
#851C8B #8B4E1C #228B1C #1C598B
split-complementary
#851C8B #598B1C #1C8B4E
monochromatic
#240725 #541258 #851C8B #B626BE #D247DA

Accessibility & contrast

On white

8.28
#851C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#851C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851C8B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851C8B#FFFFFF#000000##FFFFFF
##851C8B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#365388
Tritanopia (blue-blind)
#883154
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851c8b;
/* rgb */ color: rgb(133, 28, 139);
/* oklch */ color: oklch(45.0% 0.186 325.7);
Tailwind
colors: {
  custom: {
    50: '#ac66ad',
    500: '#851c8b',
    950: '#000000',
  },
}
SCSS
$custom: #851c8b;
$custom-light: #ac66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851c8b",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 296.757,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.18591,
    "h": 325.7
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#851C8B
secondary
#4DBC47
accent
#E93E48
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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