#851A97#851A97

#851A97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.197 H 321.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#851A97
RGBrgb(133, 26, 151)
HSLhsl(291, 71%, 35%)
HSVhsv(291, 83%, 59%)
CMYKcmyk(11.9%, 82.8%, 0%, 40.8%)
CIE-LABlab(33.90, 58.83, -44.09)
CIE-LCHlch(33.90, 73.51, 323.15°)
OKLaboklab(45.64% 0.1538 -0.1237)
OKLCHoklch(45.64% 0.197 321.2)
XYZxyz(15.6275, 7.9606, 29.9856)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851A97 #2C971A
analogous
#471A97 #851A97 #971A6B
triadic
#851A97 #97851A #1A9785
tetradic
#851A97 #97471A #2C971A #1A6B97
square
#851A97 #97471A #2C971A #1A6B97
split-complementary
#851A97 #6B971A #1A9747
monochromatic
#29082F #571163 #851A97 #B323CB #CB4BE0

Accessibility & contrast

On white

8.10
#851A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#851A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851A97
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851A97#FFFFFF#000000##FFFFFF
##851A971.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#86365A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #851a97;
/* rgb */ color: rgb(133, 26, 151);
/* oklch */ color: oklch(45.6% 0.197 321.2);
Tailwind
colors: {
  custom: {
    50: '#ad66b6',
    500: '#851a97',
    950: '#000000',
  },
}
SCSS
$custom: #851a97;
$custom-light: #ad66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#851a97",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 291.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45643,
    "c": 0.19735,
    "h": 321.2
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#851A97
secondary
#5CC24B
accent
#ED3A54
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851A97

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

Preview Lab → · Contrast checker → · Palette generator →

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