#851EA1#851EA1

#851EA1 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.202 H 317.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#851EA1
RGBrgb(133, 30, 161)
HSLhsl(287, 69%, 37%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(17.4%, 81.4%, 0%, 36.9%)
CIE-LABlab(34.98, 59.57, -48.42)
CIE-LCHlch(34.98, 76.76, 320.89°)
OKLaboklab(46.62% 0.1493 -0.1364)
OKLCHoklch(46.62% 0.202 317.6)
XYZxyz(16.5692, 8.4891, 34.4771)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851EA1 #3AA11E
analogous
#441EA1 #851EA1 #A11E7B
triadic
#851EA1 #A1851E #1EA185
tetradic
#851EA1 #A1441E #3AA11E #1E7BA1
square
#851EA1 #A1441E #3AA11E #1E7BA1
split-complementary
#851EA1 #7BA11E #1EA144
monochromatic
#300B3A #5A146D #851EA1 #B028D5 #C359E0

Accessibility & contrast

On white

7.78
#851EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#851EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851EA1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851EA1#FFFFFF#000000##FFFFFF
##851EA11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#843D61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #851ea1;
/* rgb */ color: rgb(133, 30, 161);
/* oklch */ color: oklch(46.6% 0.202 317.6);
Tailwind
colors: {
  custom: {
    50: '#ad68be',
    500: '#851ea1',
    950: '#000000',
  },
}
SCSS
$custom: #851ea1;
$custom-light: #ad68be;
$custom-dark: #000000;
JSON
{
  "hex": "#851ea1",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 287.176,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46623,
    "c": 0.2022,
    "h": 317.6
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#851EA1
secondary
#6EC457
accent
#EB3C62
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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