#851A9E#851A9E

#851A9E is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.1% C 0.203 H 318.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#851A9E
RGBrgb(133, 26, 158)
HSLhsl(289, 72%, 36%)
HSVhsv(289, 84%, 62%)
CMYKcmyk(15.8%, 83.5%, 0%, 38%)
CIE-LABlab(34.39, 60.12, -47.56)
CIE-LCHlch(34.39, 76.66, 321.65°)
OKLaboklab(46.14% 0.1527 -0.1339)
OKLCHoklch(46.14% 0.203 318.8)
XYZxyz(16.2130, 8.1948, 33.0689)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A9E #339E1A
analogous
#431A9E #851A9E #9E1A75
triadic
#851A9E #9E851A #1A9E85
tetradic
#851A9E #9E431A #339E1A #1A759E
square
#851A9E #9E431A #339E1A #1A759E
split-complementary
#851A9E #759E1A #1A9E43
monochromatic
#2D0935 #591169 #851A9E #B123D3 #C750E2

Accessibility & contrast

On white

7.96
#851A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#851A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A9E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A9E#FFFFFF#000000##FFFFFF
##851A9E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#843A5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851a9e;
/* rgb */ color: rgb(133, 26, 158);
/* oklch */ color: oklch(46.1% 0.203 318.8);
Tailwind
colors: {
  custom: {
    50: '#ad66bb',
    500: '#851a9e',
    950: '#000000',
  },
}
SCSS
$custom: #851a9e;
$custom-light: #ad66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#851a9e",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 288.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.20306,
    "h": 318.8
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#851A9E
secondary
#65C54F
accent
#EE395C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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