#851BAE#851BAE

#851BAE is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.4% C 0.216 H 313.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#851BAE
RGBrgb(133, 27, 174)
HSLhsl(283, 73%, 39%)
HSVhsv(283, 84%, 68%)
CMYKcmyk(23.6%, 84.5%, 0%, 31.8%)
CIE-LABlab(35.65, 62.92, -55.15)
CIE-LCHlch(35.65, 83.67, 318.77°)
OKLaboklab(47.39% 0.1487 -0.1561)
OKLCHoklch(47.39% 0.216 313.6)
XYZxyz(17.7034, 8.8270, 40.8074)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851BAE #44AE1B
analogous
#3B1BAE #851BAE #AE1B8E
triadic
#851BAE #AE851B #1BAE85
tetradic
#851BAE #AE3B1B #44AE1B #1B8EAE
square
#851BAE #AE3B1B #44AE1B #1B8EAE
split-complementary
#851BAE #8EAE1B #1BAE3B
monochromatic
#340B44 #5D1379 #851BAE #AB28DE #C05DE6

Accessibility & contrast

On white

7.59
#851BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#851BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851BAE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851BAE#FFFFFF#000000##FFFFFF
##851BAE1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#814268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #851bae;
/* rgb */ color: rgb(133, 27, 174);
/* oklch */ color: oklch(47.4% 0.216 313.6);
Tailwind
colors: {
  custom: {
    50: '#ae68c7',
    500: '#851bae',
    950: '#000000',
  },
}
SCSS
$custom: #851bae;
$custom-light: #ae68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#851bae",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 283.265,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.21558,
    "h": 313.6
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#851BAE
secondary
#7ACA5B
accent
#F0386B
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #851BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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