#851877#851877

#851877 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.174 H 334.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#851877
RGBrgb(133, 24, 119)
HSLhsl(308, 69%, 31%)
HSVhsv(308, 82%, 52%)
CMYKcmyk(0%, 82%, 10.5%, 47.8%)
CIE-LABlab(31.75, 53.98, -27.64)
CIE-LCHlch(31.75, 60.64, 332.89°)
OKLaboklab(43.48% 0.157 -0.0758)
OKLCHoklch(43.48% 0.174 334.2)
XYZxyz(13.3294, 6.9729, 18.0931)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851877 #188526
analogous
#5C1885 #851877 #851841
triadic
#851877 #778518 #187785
tetradic
#851877 #855C18 #188526 #184185
square
#851877 #855C18 #188526 #184185
split-complementary
#851877 #418518 #18855C
monochromatic
#1D051A #510F49 #851877 #B921A5 #DC3CC7

Accessibility & contrast

On white

8.77
#851877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851877
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851877#FFFFFF#000000##FFFFFF
##8518771.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154179
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#8C2447
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #851877;
/* rgb */ color: rgb(133, 24, 119);
/* oklch */ color: oklch(43.5% 0.174 334.2);
Tailwind
colors: {
  custom: {
    50: '#ac649e',
    500: '#851877',
    950: '#000000',
  },
}
SCSS
$custom: #851877;
$custom-light: #ac649e;
$custom-dark: #000000;
JSON
{
  "hex": "#851877",
  "rgb": {
    "r": 133,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 307.706,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.17435,
    "h": 334.2
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#851877
secondary
#40B94F
accent
#EC523C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851877

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

Preview Lab → · Contrast checker → · Palette generator →

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