#851C8E#851C8E

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

Color values

HEX#851C8E
RGBrgb(133, 28, 142)
HSLhsl(295, 67%, 33%)
HSVhsv(295, 80%, 56%)
CMYKcmyk(6.3%, 80.3%, 0%, 44.3%)
CIE-LABlab(33.50, 56.65, -39.20)
CIE-LCHlch(33.50, 68.90, 325.32°)
OKLaboklab(45.17% 0.1533 -0.1094)
OKLCHoklch(45.17% 0.188 324.5)
XYZxyz(14.9702, 7.7710, 26.2974)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851C8E #258E1C
analogous
#4C1C8E #851C8E #8E1C5E
triadic
#851C8E #8E851C #1C8E85
tetradic
#851C8E #8E4C1C #258E1C #1C5E8E
square
#851C8E #8E4C1C #258E1C #1C5E8E
split-complementary
#851C8E #5E8E1C #1C8E4C
monochromatic
#250828 #55125B #851C8E #B526C1 #D049DB

Accessibility & contrast

On white

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

On black

2.55
#851C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##851C8E#FFFFFF#000000##FFFFFF
##851C8E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851c8e;
/* rgb */ color: rgb(133, 28, 142);
/* oklch */ color: oklch(45.2% 0.188 324.5);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#851c8e',
    950: '#000000',
  },
}
SCSS
$custom: #851c8e;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#851c8e",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 295.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.18832,
    "h": 324.5
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#851C8E
secondary
#52BD49
accent
#EA3E4B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #851C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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