#851BA1#851BA1

#851BA1 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.205 H 317.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#851BA1
RGBrgb(133, 27, 161)
HSLhsl(287, 71%, 37%)
HSVhsv(287, 83%, 63%)
CMYKcmyk(17.4%, 83.2%, 0%, 36.9%)
CIE-LABlab(34.69, 60.41, -48.89)
CIE-LCHlch(34.69, 77.72, 321.02°)
OKLaboklab(46.42% 0.1514 -0.1378)
OKLCHoklch(46.42% 0.205 317.7)
XYZxyz(16.4969, 8.3444, 34.4530)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851BA1 #37A11B
analogous
#421BA1 #851BA1 #A11B7A
triadic
#851BA1 #A1851B #1BA185
tetradic
#851BA1 #A1421B #37A11B #1B7AA1
square
#851BA1 #A1421B #37A11B #1B7AA1
split-complementary
#851BA1 #7AA11B #1BA142
monochromatic
#2E0938 #5A126D #851BA1 #B024D5 #C554E2

Accessibility & contrast

On white

7.87
#851BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#851BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851BA1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851BA1#FFFFFF#000000##FFFFFF
##851BA11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#20559E
Tritanopia (blue-blind)
#843B60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #851ba1;
/* rgb */ color: rgb(133, 27, 161);
/* oklch */ color: oklch(46.4% 0.205 317.7);
Tailwind
colors: {
  custom: {
    50: '#ad67be',
    500: '#851ba1',
    950: '#000000',
  },
}
SCSS
$custom: #851ba1;
$custom-light: #ad67be;
$custom-dark: #000000;
JSON
{
  "hex": "#851ba1",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 287.463,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.20472,
    "h": 317.7
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#851BA1
secondary
#6AC552
accent
#EE3A5F
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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