#851AB4#851AB4

#851AB4 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.8% C 0.221 H 311.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#851AB4
RGBrgb(133, 26, 180)
HSLhsl(282, 75%, 40%)
HSVhsv(282, 86%, 71%)
CMYKcmyk(26.1%, 85.6%, 0%, 29.4%)
CIE-LABlab(36.02, 64.36, -58.11)
CIE-LCHlch(36.02, 86.71, 317.92°)
OKLaboklab(47.8% 0.1477 -0.1648)
OKLCHoklch(47.8% 0.221 311.9)
XYZxyz(18.2789, 9.0211, 43.9495)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851AB4 #49B41A
analogous
#381AB4 #851AB4 #B41A96
triadic
#851AB4 #B4851A #1AB485
tetradic
#851AB4 #B4381A #49B41A #1A96B4
square
#851AB4 #B4381A #49B41A #1A96B4
split-complementary
#851AB4 #96B41A #1AB438
monochromatic
#360B49 #5D127F #851AB4 #A92BE0 #BF60E8

Accessibility & contrast

On white

7.49
#851AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#851AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851AB4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851AB4#FFFFFF#000000##FFFFFF
##851AB41.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#7F446B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #851ab4;
/* rgb */ color: rgb(133, 26, 180);
/* oklch */ color: oklch(47.8% 0.221 311.9);
Tailwind
colors: {
  custom: {
    50: '#ae68cb',
    500: '#851ab4',
    950: '#000000',
  },
}
SCSS
$custom: #851ab4;
$custom-light: #ae68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#851ab4",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 281.688,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.22136,
    "h": 311.9
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#851AB4
secondary
#7FCC5D
accent
#F1366F
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #851AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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