#851E8E#851E8E

#851E8E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.186 H 324.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#851E8E
RGBrgb(133, 30, 142)
HSLhsl(295, 65%, 34%)
HSVhsv(295, 79%, 56%)
CMYKcmyk(6.3%, 78.9%, 0%, 44.3%)
CIE-LABlab(33.71, 56.05, -38.87)
CIE-LCHlch(33.71, 68.21, 325.26°)
OKLaboklab(45.32% 0.1516 -0.1084)
OKLCHoklch(45.32% 0.186 324.4)
XYZxyz(15.0192, 7.8691, 26.3137)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E8E #278E1E
analogous
#4D1E8E #851E8E #8E1E5F
triadic
#851E8E #8E851E #1E8E85
tetradic
#851E8E #8E4D1E #278E1E #1E5F8E
square
#851E8E #8E4D1E #278E1E #1E5F8E
split-complementary
#851E8E #5F8E1E #1E8E4D
monochromatic
#260929 #56135B #851E8E #B429C1 #CE4DD9

Accessibility & contrast

On white

8.16
#851E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#851E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851E8E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E8E#FFFFFF#000000##FFFFFF
##851E8E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#883356
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851e8e;
/* rgb */ color: rgb(133, 30, 142);
/* oklch */ color: oklch(45.3% 0.186 324.4);
Tailwind
colors: {
  custom: {
    50: '#ac67b0',
    500: '#851e8e',
    950: '#000000',
  },
}
SCSS
$custom: #851e8e;
$custom-light: #ac67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#851e8e",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 295.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.18642,
    "h": 324.4
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#851E8E
secondary
#55BC4C
accent
#E8404D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #851E8E

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

Preview Lab → · Contrast checker → · Palette generator →

#851E8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva