#851A7E#851A7E

#851A7E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.178 H 331.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#851A7E
RGBrgb(133, 26, 126)
HSLhsl(304, 67%, 31%)
HSVhsv(304, 80%, 52%)
CMYKcmyk(0%, 80.5%, 5.3%, 47.8%)
CIE-LABlab(32.33, 54.52, -31.12)
CIE-LCHlch(32.33, 62.78, 330.28°)
OKLaboklab(44.03% 0.1556 -0.0858)
OKLCHoklch(44.03% 0.178 331.1)
XYZxyz(13.8082, 7.2328, 20.4034)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A7E #1A8521
analogous
#561A85 #851A7E #851A48
triadic
#851A7E #7E851A #1A7E85
tetradic
#851A7E #85561A #1A8521 #1A4885
square
#851A7E #85561A #1A8521 #1A4885
split-complementary
#851A7E #48851A #1A8556
monochromatic
#1F061D #52104E #851A7E #B824AE #DA40D0

Accessibility & contrast

On white

8.58
#851A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#851A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A7E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A7E#FFFFFF#000000##FFFFFF
##851A7E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#8B294C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #851a7e;
/* rgb */ color: rgb(133, 26, 126);
/* oklch */ color: oklch(44.0% 0.178 331.1);
Tailwind
colors: {
  custom: {
    50: '#ac65a4',
    500: '#851a7e',
    950: '#000000',
  },
}
SCSS
$custom: #851a7e;
$custom-light: #ac65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#851a7e",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 303.925,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44028,
    "c": 0.17768,
    "h": 331.1
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#851A7E
secondary
#42B84A
accent
#EA493E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #851A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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