#851BA8#851BA8

#851BA8 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.211 H 315.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#851BA8
RGBrgb(133, 27, 168)
HSLhsl(285, 72%, 38%)
HSVhsv(285, 84%, 66%)
CMYKcmyk(20.8%, 83.9%, 0%, 34.1%)
CIE-LABlab(35.20, 61.75, -52.28)
CIE-LCHlch(35.20, 80.91, 319.75°)
OKLaboklab(46.94% 0.15 -0.1477)
OKLCHoklch(46.94% 0.211 315.4)
XYZxyz(17.1315, 8.5982, 37.7954)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851BA8 #3EA81B
analogous
#3E1BA8 #851BA8 #A81B85
triadic
#851BA8 #A8851B #1BA885
tetradic
#851BA8 #A83E1B #3EA81B #1B85A8
square
#851BA8 #A83E1B #3EA81B #1B85A8
split-complementary
#851BA8 #85A81B #1BA83E
monochromatic
#320A3F #5B1373 #851BA8 #AE24DC #C259E4

Accessibility & contrast

On white

7.72
#851BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#851BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851BA8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851BA8#FFFFFF#000000##FFFFFF
##851BA81.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#1355A5
Tritanopia (blue-blind)
#823F64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #851ba8;
/* rgb */ color: rgb(133, 27, 168);
/* oklch */ color: oklch(46.9% 0.211 315.4);
Tailwind
colors: {
  custom: {
    50: '#ad67c3',
    500: '#851ba8',
    950: '#000000',
  },
}
SCSS
$custom: #851ba8;
$custom-light: #ad67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#851ba8",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 285.106,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.21055,
    "h": 315.4
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#851BA8
secondary
#73C857
accent
#EF3966
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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