#851CA7#851CA7

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

Color values

HEX#851CA7
RGBrgb(133, 28, 167)
HSLhsl(285, 71%, 38%)
HSVhsv(285, 83%, 65%)
CMYKcmyk(20.4%, 83.2%, 0%, 34.5%)
CIE-LABlab(35.22, 61.29, -51.65)
CIE-LCHlch(35.22, 80.15, 319.88°)
OKLaboklab(46.93% 0.1496 -0.1459)
OKLCHoklch(46.93% 0.209 315.7)
XYZxyz(17.0621, 8.6078, 37.3144)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851CA7 #3EA71C
analogous
#401CA7 #851CA7 #A71C83
triadic
#851CA7 #A7851C #1CA785
tetradic
#851CA7 #A7401C #3EA71C #1C83A7
square
#851CA7 #A7401C #3EA71C #1C83A7
split-complementary
#851CA7 #83A71C #1CA740
monochromatic
#320A3E #5B1373 #851CA7 #AE26DB #C25AE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##851CA7#FFFFFF#000000##FFFFFF
##851CA71.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)
#004DAB
Deuteranopia (green-blind)
#1655A4
Tritanopia (blue-blind)
#823F64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #851ca7;
/* rgb */ color: rgb(133, 28, 167);
/* oklch */ color: oklch(46.9% 0.209 315.7);
Tailwind
colors: {
  custom: {
    50: '#ad68c2',
    500: '#851ca7',
    950: '#000000',
  },
}
SCSS
$custom: #851ca7;
$custom-light: #ad68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#851ca7",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 285.324,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.20892,
    "h": 315.7
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#851CA7
secondary
#73C758
accent
#EE3A66
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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