#851D8B#851D8B

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

Color values

HEX#851D8B
RGBrgb(133, 29, 139)
HSLhsl(297, 65%, 33%)
HSVhsv(297, 79%, 55%)
CMYKcmyk(4.3%, 79.1%, 0%, 45.5%)
CIE-LABlab(33.41, 55.83, -37.49)
CIE-LCHlch(33.41, 67.25, 326.12°)
OKLaboklab(45.05% 0.1527 -0.1044)
OKLCHoklch(45.05% 0.185 325.6)
XYZxyz(14.7721, 7.7304, 25.1351)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851D8B #238B1D
analogous
#4E1D8B #851D8B #8B1D5A
triadic
#851D8B #8B851D #1D8B85
tetradic
#851D8B #8B4E1D #238B1D #1D5A8B
square
#851D8B #8B4E1D #238B1D #1D5A8B
split-complementary
#851D8B #5A8B1D #1D8B4E
monochromatic
#240826 #551258 #851D8B #B528BE #D149D9

Accessibility & contrast

On white

8.25
#851D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851D8B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851D8B#FFFFFF#000000##FFFFFF
##851D8B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#883154
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851d8b;
/* rgb */ color: rgb(133, 29, 139);
/* oklch */ color: oklch(45.1% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#ac66ad',
    500: '#851d8b',
    950: '#000000',
  },
}
SCSS
$custom: #851d8b;
$custom-light: #ac66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851d8b",
  "rgb": {
    "r": 133,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 296.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.18496,
    "h": 325.6
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#851D8B
secondary
#4FBB49
accent
#E83F49
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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