#851C8F#851C8F

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

Color values

HEX#851C8F
RGBrgb(133, 28, 143)
HSLhsl(295, 67%, 34%)
HSVhsv(295, 80%, 56%)
CMYKcmyk(7%, 80.4%, 0%, 43.9%)
CIE-LABlab(33.57, 56.83, -39.72)
CIE-LCHlch(33.57, 69.33, 325.05°)
OKLaboklab(45.24% 0.1532 -0.1109)
OKLCHoklch(45.24% 0.189 324.1)
XYZxyz(15.0456, 7.8012, 26.6946)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851C8F #268F1C
analogous
#4B1C8F #851C8F #8F1C5F
triadic
#851C8F #8F851C #1C8F85
tetradic
#851C8F #8F4B1C #268F1C #1C5F8F
square
#851C8F #8F4B1C #268F1C #1C5F8F
split-complementary
#851C8F #5F8F1C #1C8F4B
monochromatic
#260829 #55125C #851C8F #B526C2 #CF4ADC

Accessibility & contrast

On white

8.20
#851C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851C8F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851C8F#FFFFFF#000000##FFFFFF
##851C8F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#883356
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #851c8f;
/* rgb */ color: rgb(133, 28, 143);
/* oklch */ color: oklch(45.2% 0.189 324.1);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#851c8f',
    950: '#000000',
  },
}
SCSS
$custom: #851c8f;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#851c8f",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 294.783,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.18913,
    "h": 324.1
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#851C8F
secondary
#53BE49
accent
#EA3E4D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #851C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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