#851D9A#851D9A

#851D9A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.197 H 320.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#851D9A
RGBrgb(133, 29, 154)
HSLhsl(290, 68%, 36%)
HSVhsv(290, 81%, 60%)
CMYKcmyk(13.6%, 81.2%, 0%, 39.6%)
CIE-LABlab(34.39, 58.54, -45.12)
CIE-LCHlch(34.39, 73.91, 322.38°)
OKLaboklab(46.06% 0.1511 -0.1267)
OKLCHoklch(46.06% 0.197 320)
XYZxyz(15.9442, 8.1992, 31.3084)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851D9A #329A1D
analogous
#461D9A #851D9A #9A1D70
triadic
#851D9A #9A851D #1D9A85
tetradic
#851D9A #9A461D #329A1D #1D709A
square
#851D9A #9A461D #329A1D #1D709A
split-complementary
#851D9A #709A1D #1D9A46
monochromatic
#2C0A33 #591366 #851D9A #B127CE #C753DF

Accessibility & contrast

On white

7.96
#851D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851D9A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851D9A#FFFFFF#000000##FFFFFF
##851D9A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#2A5497
Tritanopia (blue-blind)
#85395C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #851d9a;
/* rgb */ color: rgb(133, 29, 154);
/* oklch */ color: oklch(46.1% 0.197 320.0);
Tailwind
colors: {
  custom: {
    50: '#ad67b8',
    500: '#851d9a',
    950: '#000000',
  },
}
SCSS
$custom: #851d9a;
$custom-light: #ad67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#851d9a",
  "rgb": {
    "r": 133,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 289.92,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.19723,
    "h": 320
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#851D9A
secondary
#64C251
accent
#EB3D5A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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