#851FA1#851FA1

#851FA1 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.201 H 317.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#851FA1
RGBrgb(133, 31, 161)
HSLhsl(287, 68%, 38%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(17.4%, 80.7%, 0%, 36.9%)
CIE-LABlab(35.08, 59.27, -48.25)
CIE-LCHlch(35.08, 76.43, 320.85°)
OKLaboklab(46.7% 0.1485 -0.1359)
OKLCHoklch(46.7% 0.201 317.5)
XYZxyz(16.5949, 8.5405, 34.4856)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FA1 #3BA11F
analogous
#441FA1 #851FA1 #A11F7C
triadic
#851FA1 #A1851F #1FA185
tetradic
#851FA1 #A1441F #3BA11F #1F7CA1
square
#851FA1 #A1441F #3BA11F #1F7CA1
split-complementary
#851FA1 #7CA11F #1FA144
monochromatic
#300B3A #5B156E #851FA1 #AF29D4 #C35BDF

Accessibility & contrast

On white

7.75
#851FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#851FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FA1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FA1#FFFFFF#000000##FFFFFF
##851FA11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#843D61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #851fa1;
/* rgb */ color: rgb(133, 31, 161);
/* oklch */ color: oklch(46.7% 0.201 317.5);
Tailwind
colors: {
  custom: {
    50: '#ad68bd',
    500: '#851fa1',
    950: '#000000',
  },
}
SCSS
$custom: #851fa1;
$custom-light: #ad68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#851fa1",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 287.077,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.20131,
    "h": 317.5
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#851FA1
secondary
#6FC458
accent
#EB3D63
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #851FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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