#851FA6#851FA6

#851FA6 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.206 H 315.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#851FA6
RGBrgb(133, 31, 166)
HSLhsl(285, 69%, 39%)
HSVhsv(285, 81%, 65%)
CMYKcmyk(19.9%, 81.3%, 0%, 34.9%)
CIE-LABlab(35.44, 60.23, -50.69)
CIE-LCHlch(35.44, 78.73, 319.92°)
OKLaboklab(47.06% 0.1476 -0.1431)
OKLCHoklch(47.06% 0.206 315.9)
XYZxyz(17.0447, 8.7204, 36.8544)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FA6 #40A61F
analogous
#411FA6 #851FA6 #A61F83
triadic
#851FA6 #A6851F #1FA685
tetradic
#851FA6 #A6411F #40A61F #1F83A6
square
#851FA6 #A6411F #40A61F #1F83A6
split-complementary
#851FA6 #83A61F #1FA641
monochromatic
#320C3F #5C1572 #851FA6 #AD2BD7 #C15EE1

Accessibility & contrast

On white

7.65
#851FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#851FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FA6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FA6#FFFFFF#000000##FFFFFF
##851FA61.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#834064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #851fa6;
/* rgb */ color: rgb(133, 31, 166);
/* oklch */ color: oklch(47.1% 0.206 315.9);
Tailwind
colors: {
  custom: {
    50: '#ad69c1',
    500: '#851fa6',
    950: '#000000',
  },
}
SCSS
$custom: #851fa6;
$custom-light: #ad69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#851fa6",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 285.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47058,
    "c": 0.20557,
    "h": 315.9
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#851FA6
secondary
#75C55B
accent
#EB3C67
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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