#851B8D#851B8D

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

Color values

HEX#851B8D
RGBrgb(133, 27, 141)
HSLhsl(296, 68%, 33%)
HSVhsv(296, 81%, 55%)
CMYKcmyk(5.7%, 80.9%, 0%, 44.7%)
CIE-LABlab(33.34, 56.77, -38.85)
CIE-LCHlch(33.34, 68.79, 325.61°)
OKLaboklab(45.04% 0.1542 -0.1083)
OKLCHoklch(45.04% 0.188 324.9)
XYZxyz(14.8721, 7.6945, 25.8960)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B8D #238D1B
analogous
#4C1B8D #851B8D #8D1B5C
triadic
#851B8D #8D851B #1B8D85
tetradic
#851B8D #8D4C1B #238D1B #1B5C8D
square
#851B8D #8D4C1B #238D1B #1B5C8D
split-complementary
#851B8D #5C8D1B #1B8D4C
monochromatic
#240726 #55115A #851B8D #B525C0 #D147DC

Accessibility & contrast

On white

8.27
#851B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851B8D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B8D#FFFFFF#000000##FFFFFF
##851B8D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#34538A
Tritanopia (blue-blind)
#883154
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851b8d;
/* rgb */ color: rgb(133, 27, 141);
/* oklch */ color: oklch(45.0% 0.188 324.9);
Tailwind
colors: {
  custom: {
    50: '#ac66af',
    500: '#851b8d',
    950: '#000000',
  },
}
SCSS
$custom: #851b8d;
$custom-light: #ac66af;
$custom-dark: #000000;
JSON
{
  "hex": "#851b8d",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 295.789,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.18843,
    "h": 324.9
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#851B8D
secondary
#4FBD46
accent
#EB3D49
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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