#851F9B#851F9B

#851F9B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.196 H 319.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#851F9B
RGBrgb(133, 31, 155)
HSLhsl(289, 67%, 36%)
HSVhsv(289, 80%, 61%)
CMYKcmyk(14.2%, 80%, 0%, 39.2%)
CIE-LABlab(34.67, 58.13, -45.29)
CIE-LCHlch(34.67, 73.69, 322.08°)
OKLaboklab(46.27% 0.1494 -0.1272)
OKLCHoklch(46.27% 0.196 319.6)
XYZxyz(16.0785, 8.3339, 31.7657)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F9B #359B1F
analogous
#471F9B #851F9B #9B1F73
triadic
#851F9B #9B851F #1F9B85
tetradic
#851F9B #9B471F #359B1F #1F739B
square
#851F9B #9B471F #359B1F #1F739B
split-complementary
#851F9B #739B1F #1F9B47
monochromatic
#2D0B35 #591568 #851F9B #B129CE #C657DD

Accessibility & contrast

On white

7.88
#851F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#851F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F9B
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F9B#FFFFFF#000000##FFFFFF
##851F9B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#2A5598
Tritanopia (blue-blind)
#853A5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #851f9b;
/* rgb */ color: rgb(133, 31, 155);
/* oklch */ color: oklch(46.3% 0.196 319.6);
Tailwind
colors: {
  custom: {
    50: '#ad68b9',
    500: '#851f9b',
    950: '#000000',
  },
}
SCSS
$custom: #851f9b;
$custom-light: #ad68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#851f9b",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 289.355,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.19624,
    "h": 319.6
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#851F9B
secondary
#68C155
accent
#EA3E5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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