#851876#851876

#851876 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.174 H 334.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#851876
RGBrgb(133, 24, 118)
HSLhsl(308, 69%, 31%)
HSVhsv(308, 82%, 52%)
CMYKcmyk(0%, 82%, 11.3%, 47.8%)
CIE-LABlab(31.69, 53.82, -27.09)
CIE-LCHlch(31.69, 60.25, 333.28°)
OKLaboklab(43.43% 0.157 -0.0742)
OKLCHoklch(43.43% 0.174 334.7)
XYZxyz(13.2697, 6.9490, 17.7785)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851876 #188527
analogous
#5D1885 #851876 #85183F
triadic
#851876 #768518 #187685
tetradic
#851876 #855D18 #188527 #183F85
square
#851876 #855D18 #188527 #183F85
split-complementary
#851876 #3F8518 #18855D
monochromatic
#1D051A #510F48 #851876 #B921A4 #DC3CC6

Accessibility & contrast

On white

8.79
#851876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#851876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851876
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851876#FFFFFF#000000##FFFFFF
##8518761.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#8C2347
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #851876;
/* rgb */ color: rgb(133, 24, 118);
/* oklch */ color: oklch(43.4% 0.174 334.7);
Tailwind
colors: {
  custom: {
    50: '#ac649e',
    500: '#851876',
    950: '#000000',
  },
}
SCSS
$custom: #851876;
$custom-light: #ac649e;
$custom-dark: #000000;
JSON
{
  "hex": "#851876",
  "rgb": {
    "r": 133,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 308.257,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.17362,
    "h": 334.7
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#851876
secondary
#40B951
accent
#EC543C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851876

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

Preview Lab → · Contrast checker → · Palette generator →

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