#851786#851786

#851786 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.186 H 327.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#851786
RGBrgb(133, 23, 134)
HSLhsl(299, 71%, 31%)
HSVhsv(299, 83%, 53%)
CMYKcmyk(0.7%, 82.8%, 0%, 47.5%)
CIE-LABlab(32.53, 56.65, -35.80)
CIE-LCHlch(32.53, 67.01, 327.70°)
OKLaboklab(44.32% 0.1577 -0.0994)
OKLCHoklch(44.32% 0.186 327.8)
XYZxyz(14.2822, 7.3216, 23.2106)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851786 #188617
analogous
#4D1786 #851786 #861750
triadic
#851786 #868517 #178685
tetradic
#851786 #864D17 #188617 #175086
square
#851786 #864D17 #188617 #175086
split-complementary
#851786 #508617 #17864D
monochromatic
#1D051E #510E52 #851786 #B920BA #DC3ADD

Accessibility & contrast

On white

8.52
#851786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#851786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851786
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851786#FFFFFF#000000##FFFFFF
##8517861.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#892C50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #851786;
/* rgb */ color: rgb(133, 23, 134);
/* oklch */ color: oklch(44.3% 0.186 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac64aa',
    500: '#851786',
    950: '#000000',
  },
}
SCSS
$custom: #851786;
$custom-light: #ac64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#851786",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 299.459,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.18641,
    "h": 327.8
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#851786
secondary
#40BA3F
accent
#ED3A3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851786

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

Preview Lab → · Contrast checker → · Palette generator →

#851786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva