#851CA8#851CA8

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

Color values

HEX#851CA8
RGBrgb(133, 28, 168)
HSLhsl(285, 71%, 38%)
HSVhsv(285, 83%, 66%)
CMYKcmyk(20.8%, 83.3%, 0%, 34.1%)
CIE-LABlab(35.29, 61.48, -52.13)
CIE-LCHlch(35.29, 80.61, 319.70°)
OKLaboklab(47% 0.1494 -0.1473)
OKLCHoklch(47% 0.21 315.4)
XYZxyz(17.1549, 8.6449, 37.8032)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851CA8 #3FA81C
analogous
#3F1CA8 #851CA8 #A81C85
triadic
#851CA8 #A8851C #1CA885
tetradic
#851CA8 #A83F1C #3FA81C #1C85A8
square
#851CA8 #A83F1C #3FA81C #1C85A8
split-complementary
#851CA8 #85A81C #1CA83F
monochromatic
#320B3F #5B1374 #851CA8 #AE26DB #C15BE4

Accessibility & contrast

On white

7.70
#851CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#851CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851CA8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851CA8#FFFFFF#000000##FFFFFF
##851CA81.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851ca8;
/* rgb */ color: rgb(133, 28, 168);
/* oklch */ color: oklch(47.0% 0.210 315.4);
Tailwind
colors: {
  custom: {
    50: '#ad68c3',
    500: '#851ca8',
    950: '#000000',
  },
}
SCSS
$custom: #851ca8;
$custom-light: #ad68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#851ca8",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 285,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.20977,
    "h": 315.4
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#851CA8
secondary
#74C758
accent
#EE3A67
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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