#851D8D#851D8D

#851D8D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.187 H 324.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#851D8D
RGBrgb(133, 29, 141)
HSLhsl(296, 66%, 33%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5.7%, 79.4%, 0%, 44.7%)
CIE-LABlab(33.54, 56.18, -38.53)
CIE-LCHlch(33.54, 68.12, 325.56°)
OKLaboklab(45.18% 0.1526 -0.1074)
OKLCHoklch(45.18% 0.187 324.8)
XYZxyz(14.9196, 7.7893, 25.9118)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851D8D #258D1D
analogous
#4D1D8D #851D8D #8D1D5D
triadic
#851D8D #8D851D #1D8D85
tetradic
#851D8D #8D4D1D #258D1D #1D5D8D
square
#851D8D #8D4D1D #258D1D #1D5D8D
split-complementary
#851D8D #5D8D1D #1D8D4D
monochromatic
#250827 #55135A #851D8D #B527C0 #D04BDA

Accessibility & contrast

On white

8.21
#851D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#851D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851D8D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851D8D#FFFFFF#000000##FFFFFF
##851D8D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.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: #851d8d;
/* rgb */ color: rgb(133, 29, 141);
/* oklch */ color: oklch(45.2% 0.187 324.8);
Tailwind
colors: {
  custom: {
    50: '#ac67af',
    500: '#851d8d',
    950: '#000000',
  },
}
SCSS
$custom: #851d8d;
$custom-light: #ac67af;
$custom-dark: #000000;
JSON
{
  "hex": "#851d8d",
  "rgb": {
    "r": 133,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 295.714,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.18658,
    "h": 324.8
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#851D8D
secondary
#52BC4A
accent
#E93F4B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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