#851B8A#851B8A

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

Color values

HEX#851B8A
RGBrgb(133, 27, 138)
HSLhsl(297, 67%, 32%)
HSVhsv(297, 80%, 54%)
CMYKcmyk(3.6%, 80.4%, 0%, 45.9%)
CIE-LABlab(33.15, 56.24, -37.30)
CIE-LCHlch(33.15, 67.49, 326.45°)
OKLaboklab(44.84% 0.1544 -0.1038)
OKLCHoklch(44.84% 0.186 326.1)
XYZxyz(14.6520, 7.6064, 24.7363)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B8A #208A1B
analogous
#4D1B8A #851B8A #8A1B58
triadic
#851B8A #8A851B #1B8A85
tetradic
#851B8A #8A4D1B #208A1B #1B588A
square
#851B8A #8A4D1B #208A1B #1B588A
split-complementary
#851B8A #588A1B #1B8A4D
monochromatic
#220724 #541157 #851B8A #B625BD #D445DB

Accessibility & contrast

On white

8.33
#851B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851B8A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B8A#FFFFFF#000000##FFFFFF
##851B8A1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#893053
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #851b8a;
/* rgb */ color: rgb(133, 27, 138);
/* oklch */ color: oklch(44.8% 0.186 326.1);
Tailwind
colors: {
  custom: {
    50: '#ac66ad',
    500: '#851b8a',
    950: '#000000',
  },
}
SCSS
$custom: #851b8a;
$custom-light: #ac66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851b8a",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 297.297,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.18604,
    "h": 326.1
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#851B8A
secondary
#4ABC45
accent
#EA3E45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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