#851F95#851F95

#851F95 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.191 H 321.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#851F95
RGBrgb(133, 31, 149)
HSLhsl(292, 66%, 35%)
HSVhsv(292, 79%, 58%)
CMYKcmyk(10.7%, 79.2%, 0%, 41.6%)
CIE-LABlab(34.27, 57.01, -42.27)
CIE-LCHlch(34.27, 70.98, 323.44°)
OKLaboklab(45.86% 0.1502 -0.1184)
OKLCHoklch(45.86% 0.191 321.7)
XYZxyz(15.5871, 8.1373, 29.1776)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F95 #2F951F
analogous
#4A1F95 #851F95 #951F6A
triadic
#851F95 #95851F #1F9585
tetradic
#851F95 #954A1F #2F951F #1F6A95
square
#851F95 #954A1F #2F951F #1F6A95
split-complementary
#851F95 #6A951F #1F954A
monochromatic
#2B0A30 #581462 #851F95 #B22AC8 #C953DB

Accessibility & contrast

On white

7.99
#851F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#851F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F95
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F95#FFFFFF#000000##FFFFFF
##851F951.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#305492
Tritanopia (blue-blind)
#86375A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851f95;
/* rgb */ color: rgb(133, 31, 149);
/* oklch */ color: oklch(45.9% 0.191 321.7);
Tailwind
colors: {
  custom: {
    50: '#ac68b5',
    500: '#851f95',
    950: '#000000',
  },
}
SCSS
$custom: #851f95;
$custom-light: #ac68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#851f95",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 291.864,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.19122,
    "h": 321.7
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#851F95
secondary
#60BF51
accent
#E93F56
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851F95

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

Preview Lab → · Contrast checker → · Palette generator →

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