#851788#851788

#851788 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.188 H 327.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#851788
RGBrgb(133, 23, 136)
HSLhsl(298, 71%, 31%)
HSVhsv(298, 83%, 53%)
CMYKcmyk(2.2%, 83.1%, 0%, 46.7%)
CIE-LABlab(32.65, 56.98, -36.85)
CIE-LCHlch(32.65, 67.86, 327.11°)
OKLaboklab(44.45% 0.1575 -0.1025)
OKLCHoklch(44.45% 0.188 327)
XYZxyz(14.4230, 7.3780, 23.9522)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851788 #1A8817
analogous
#4C1788 #851788 #881752
triadic
#851788 #888517 #178885
tetradic
#851788 #884C17 #1A8817 #175288
square
#851788 #884C17 #1A8817 #175288
split-complementary
#851788 #528817 #17884C
monochromatic
#1F051F #520E54 #851788 #B820BC #DA3BDE

Accessibility & contrast

On white

8.48
#851788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#851788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851788
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851788#FFFFFF#000000##FFFFFF
##8517881.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#892D51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #851788;
/* rgb */ color: rgb(133, 23, 136);
/* oklch */ color: oklch(44.4% 0.188 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac64ab',
    500: '#851788',
    950: '#000000',
  },
}
SCSS
$custom: #851788;
$custom-light: #ac64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#851788",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 298.407,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.18794,
    "h": 327
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#851788
secondary
#42BC3F
accent
#EE3A3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #851788

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

Preview Lab → · Contrast checker → · Palette generator →

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