#851F97#851F97

#851F97 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.193 H 321.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#851F97
RGBrgb(133, 31, 151)
HSLhsl(291, 66%, 36%)
HSVhsv(291, 79%, 59%)
CMYKcmyk(11.9%, 79.5%, 0%, 40.8%)
CIE-LABlab(34.40, 57.38, -43.28)
CIE-LCHlch(34.40, 71.87, 322.97°)
OKLaboklab(46% 0.1499 -0.1213)
OKLCHoklch(46% 0.193 321)
XYZxyz(15.7481, 8.2018, 30.0258)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F97 #31971F
analogous
#491F97 #851F97 #971F6D
triadic
#851F97 #97851F #1F9785
tetradic
#851F97 #97491F #31971F #1F6D97
square
#851F97 #97491F #31971F #1F6D97
split-complementary
#851F97 #6D971F #1F9749
monochromatic
#2C0A31 #581564 #851F97 #B229CA #C854DC

Accessibility & contrast

On white

7.95
#851F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#851F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F97
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F97#FFFFFF#000000##FFFFFF
##851F971.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#86385B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851f97;
/* rgb */ color: rgb(133, 31, 151);
/* oklch */ color: oklch(46.0% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#ac68b6',
    500: '#851f97',
    950: '#000000',
  },
}
SCSS
$custom: #851f97;
$custom-light: #ac68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#851f97",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 291,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45995,
    "c": 0.19289,
    "h": 321
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#851F97
secondary
#63BF52
accent
#E93F58
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851F97

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

Preview Lab → · Contrast checker → · Palette generator →

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