#851878#851878

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

Color values

HEX#851878
RGBrgb(133, 24, 120)
HSLhsl(307, 69%, 31%)
HSVhsv(307, 82%, 52%)
CMYKcmyk(0%, 82%, 9.8%, 47.8%)
CIE-LABlab(31.80, 54.13, -28.18)
CIE-LCHlch(31.80, 61.03, 332.50°)
OKLaboklab(43.54% 0.1571 -0.0773)
OKLCHoklch(43.54% 0.175 333.8)
XYZxyz(13.3898, 6.9971, 18.4110)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851878 #188525
analogous
#5B1885 #851878 #851841
triadic
#851878 #788518 #187885
tetradic
#851878 #855B18 #188525 #184185
square
#851878 #855B18 #188525 #184185
split-complementary
#851878 #418518 #18855B
monochromatic
#1D051A #510F49 #851878 #B921A7 #DC3CC9

Accessibility & contrast

On white

8.75
#851878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#851878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851878
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851878#FFFFFF#000000##FFFFFF
##8518781.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#405076
Tritanopia (blue-blind)
#8B2448
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #851878;
/* rgb */ color: rgb(133, 24, 120);
/* oklch */ color: oklch(43.5% 0.175 333.8);
Tailwind
colors: {
  custom: {
    50: '#ac649f',
    500: '#851878',
    950: '#000000',
  },
}
SCSS
$custom: #851878;
$custom-light: #ac649f;
$custom-dark: #000000;
JSON
{
  "hex": "#851878",
  "rgb": {
    "r": 133,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 307.156,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.17507,
    "h": 333.8
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#851878
secondary
#40B94E
accent
#EC513C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851878

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

Preview Lab → · Contrast checker → · Palette generator →

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