#851C8D#851C8D

#851C8D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.188 H 324.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#851C8D
RGBrgb(133, 28, 141)
HSLhsl(296, 67%, 33%)
HSVhsv(296, 80%, 55%)
CMYKcmyk(5.7%, 80.1%, 0%, 44.7%)
CIE-LABlab(33.44, 56.48, -38.69)
CIE-LCHlch(33.44, 68.46, 325.59°)
OKLaboklab(45.11% 0.1534 -0.1079)
OKLCHoklch(45.11% 0.188 324.9)
XYZxyz(14.8955, 7.7411, 25.9038)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851C8D #248D1C
analogous
#4C1C8D #851C8D #8D1C5C
triadic
#851C8D #8D851C #1C8D85
tetradic
#851C8D #8D4C1C #248D1C #1C5C8D
square
#851C8D #8D4C1C #248D1C #1C5C8D
split-complementary
#851C8D #5C8D1C #1C8D4C
monochromatic
#250827 #55125A #851C8D #B526C0 #D049DB

Accessibility & contrast

On white

8.24
#851C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#851C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851C8D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851C8D#FFFFFF#000000##FFFFFF
##851C8D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#883255
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851c8d;
/* rgb */ color: rgb(133, 28, 141);
/* oklch */ color: oklch(45.1% 0.188 324.9);
Tailwind
colors: {
  custom: {
    50: '#ac66af',
    500: '#851c8d',
    950: '#000000',
  },
}
SCSS
$custom: #851c8d;
$custom-light: #ac66af;
$custom-dark: #000000;
JSON
{
  "hex": "#851c8d",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 295.752,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.18751,
    "h": 324.9
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#851C8D
secondary
#50BD48
accent
#EA3E4A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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