#851778#851778

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

Color values

HEX#851778
RGBrgb(133, 23, 120)
HSLhsl(307, 71%, 31%)
HSVhsv(307, 83%, 52%)
CMYKcmyk(0%, 82.7%, 9.8%, 47.8%)
CIE-LABlab(31.71, 54.40, -28.33)
CIE-LCHlch(31.71, 61.33, 332.49°)
OKLaboklab(43.47% 0.1578 -0.0778)
OKLCHoklch(43.47% 0.176 333.8)
XYZxyz(13.3696, 6.9566, 18.4043)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851778 #178524
analogous
#5B1785 #851778 #851741
triadic
#851778 #788517 #177885
tetradic
#851778 #855B17 #178524 #174185
square
#851778 #855B17 #178524 #174185
split-complementary
#851778 #418517 #17855B
monochromatic
#1D051A #510E49 #851778 #B920A7 #DD3ACA

Accessibility & contrast

On white

8.78
#851778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851778
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851778#FFFFFF#000000##FFFFFF
##8517781.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851778;
/* rgb */ color: rgb(133, 23, 120);
/* oklch */ color: oklch(43.5% 0.176 333.8);
Tailwind
colors: {
  custom: {
    50: '#ac639f',
    500: '#851778',
    950: '#000000',
  },
}
SCSS
$custom: #851778;
$custom-light: #ac639f;
$custom-dark: #000000;
JSON
{
  "hex": "#851778",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 307.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.17595,
    "h": 333.8
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#851778
secondary
#3FB94D
accent
#ED503B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851778

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

Preview Lab → · Contrast checker → · Palette generator →

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