#851A8D#851A8D

#851A8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.189 H 324.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#851A8D
RGBrgb(133, 26, 141)
HSLhsl(296, 69%, 33%)
HSVhsv(296, 82%, 55%)
CMYKcmyk(5.7%, 81.6%, 0%, 44.7%)
CIE-LABlab(33.24, 57.05, -39.00)
CIE-LCHlch(33.24, 69.10, 325.64°)
OKLaboklab(44.97% 0.1549 -0.1088)
OKLCHoklch(44.97% 0.189 324.9)
XYZxyz(14.8496, 7.6494, 25.8885)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A8D #228D1A
analogous
#4B1A8D #851A8D #8D1A5B
triadic
#851A8D #8D851A #1A8D85
tetradic
#851A8D #8D4B1A #228D1A #1A5B8D
square
#851A8D #8D4B1A #228D1A #1A5B8D
split-complementary
#851A8D #5B8D1A #1A8D4B
monochromatic
#240726 #541059 #851A8D #B624C1 #D245DD

Accessibility & contrast

On white

8.30
#851A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#851A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A8D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A8D#FFFFFF#000000##FFFFFF
##851A8D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851a8d;
/* rgb */ color: rgb(133, 26, 141);
/* oklch */ color: oklch(45.0% 0.189 324.9);
Tailwind
colors: {
  custom: {
    50: '#ac65af',
    500: '#851a8d',
    950: '#000000',
  },
}
SCSS
$custom: #851a8d;
$custom-light: #ac65af;
$custom-dark: #000000;
JSON
{
  "hex": "#851a8d",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 295.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.18931,
    "h": 324.9
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#851A8D
secondary
#4DBE45
accent
#EC3C48
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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