#851E8D#851E8D

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

Color values

HEX#851E8D
RGBrgb(133, 30, 141)
HSLhsl(296, 65%, 34%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5.7%, 78.7%, 0%, 44.7%)
CIE-LABlab(33.65, 55.88, -38.36)
CIE-LCHlch(33.65, 67.78, 325.53°)
OKLaboklab(45.25% 0.1517 -0.1069)
OKLCHoklch(45.25% 0.186 324.8)
XYZxyz(14.9445, 7.8392, 25.9201)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851E8D #268D1E
analogous
#4D1E8D #851E8D #8D1E5D
triadic
#851E8D #8D851E #1E8D85
tetradic
#851E8D #8D4D1E #268D1E #1E5D8D
square
#851E8D #8D4D1E #268D1E #1E5D8D
split-complementary
#851E8D #5D8D1E #1E8D4D
monochromatic
#260928 #55135B #851E8D #B529BF #CF4CD9

Accessibility & contrast

On white

8.18
#851E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851E8D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851E8D#FFFFFF#000000##FFFFFF
##851E8D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#36538A
Tritanopia (blue-blind)
#883355
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851e8d;
/* rgb */ color: rgb(133, 30, 141);
/* oklch */ color: oklch(45.3% 0.186 324.8);
Tailwind
colors: {
  custom: {
    50: '#ac67af',
    500: '#851e8d',
    950: '#000000',
  },
}
SCSS
$custom: #851e8d;
$custom-light: #ac67af;
$custom-dark: #000000;
JSON
{
  "hex": "#851e8d",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 295.676,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.18561,
    "h": 324.8
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#851E8D
secondary
#53BC4B
accent
#E8404C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #851E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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