#851E8B#851E8B

#851E8B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.184 H 325.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#851E8B
RGBrgb(133, 30, 139)
HSLhsl(297, 64%, 33%)
HSVhsv(297, 78%, 55%)
CMYKcmyk(4.3%, 78.4%, 0%, 45.5%)
CIE-LABlab(33.52, 55.52, -37.32)
CIE-LCHlch(33.52, 66.90, 326.09°)
OKLaboklab(45.13% 0.1518 -0.1039)
OKLCHoklch(45.13% 0.184 325.6)
XYZxyz(14.7970, 7.7802, 25.1434)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E8B #248B1E
analogous
#4E1E8B #851E8B #8B1E5A
triadic
#851E8B #8B851E #1E8B85
tetradic
#851E8B #8B4E1E #248B1E #1E5A8B
square
#851E8B #8B4E1E #248B1E #1E5A8B
split-complementary
#851E8B #5A8B1E #1E8B4E
monochromatic
#250826 #551359 #851E8B #B529BD #D04BD8

Accessibility & contrast

On white

8.22
#851E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#851E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851E8B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E8B#FFFFFF#000000##FFFFFF
##851E8B1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#883254
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851e8b;
/* rgb */ color: rgb(133, 30, 139);
/* oklch */ color: oklch(45.1% 0.184 325.6);
Tailwind
colors: {
  custom: {
    50: '#ac67ad',
    500: '#851e8b',
    950: '#000000',
  },
}
SCSS
$custom: #851e8b;
$custom-light: #ac67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#851e8b",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 296.697,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.18398,
    "h": 325.6
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#851E8B
secondary
#50BB4A
accent
#E7404A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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