#851B89#851B89

#851B89 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 326.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#851B89
RGBrgb(133, 27, 137)
HSLhsl(298, 67%, 32%)
HSVhsv(298, 80%, 54%)
CMYKcmyk(2.9%, 80.3%, 0%, 46.3%)
CIE-LABlab(33.09, 56.07, -36.78)
CIE-LCHlch(33.09, 67.06, 326.74°)
OKLaboklab(44.78% 0.1544 -0.1023)
OKLCHoklch(44.78% 0.185 326.5)
XYZxyz(14.5799, 7.5776, 24.3568)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B89 #1F891B
analogous
#4E1B89 #851B89 #891B56
triadic
#851B89 #89851B #1B8985
tetradic
#851B89 #894E1B #1F891B #1B5689
square
#851B89 #894E1B #1F891B #1B5689
split-complementary
#851B89 #56891B #1B894E
monochromatic
#220723 #531156 #851B89 #B725BC #D544DA

Accessibility & contrast

On white

8.35
#851B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#851B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B89
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B89#FFFFFF#000000##FFFFFF
##851B891.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#892F52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851b89;
/* rgb */ color: rgb(133, 27, 137);
/* oklch */ color: oklch(44.8% 0.185 326.5);
Tailwind
colors: {
  custom: {
    50: '#ac66ac',
    500: '#851b89',
    950: '#000000',
  },
}
SCSS
$custom: #851b89;
$custom-light: #ac66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#851b89",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 297.818,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44777,
    "c": 0.18525,
    "h": 326.5
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#851B89
secondary
#49BC44
accent
#EA3E44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851B89

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

Preview Lab → · Contrast checker → · Palette generator →

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