#851AB3#851AB3

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

Color values

HEX#851AB3
RGBrgb(133, 26, 179)
HSLhsl(282, 75%, 40%)
HSVhsv(282, 85%, 70%)
CMYKcmyk(25.7%, 85.5%, 0%, 29.8%)
CIE-LABlab(35.95, 64.16, -57.64)
CIE-LCHlch(35.95, 86.25, 318.06°)
OKLaboklab(47.72% 0.148 -0.1635)
OKLCHoklch(47.72% 0.221 312.2)
XYZxyz(18.1774, 8.9805, 43.4150)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851AB3 #48B31A
analogous
#391AB3 #851AB3 #B31A94
triadic
#851AB3 #B3851A #1AB385
tetradic
#851AB3 #B3391A #48B31A #1A94B3
square
#851AB3 #B3391A #48B31A #1A94B3
split-complementary
#851AB3 #94B31A #1AB339
monochromatic
#360A48 #5D127E #851AB3 #A92AE0 #BF60E8

Accessibility & contrast

On white

7.51
#851AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851AB3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851AB3#FFFFFF#000000##FFFFFF
##851AB31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#7F446A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #851ab3;
/* rgb */ color: rgb(133, 26, 179);
/* oklch */ color: oklch(47.7% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#ae68cb',
    500: '#851ab3',
    950: '#000000',
  },
}
SCSS
$custom: #851ab3;
$custom-light: #ae68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#851ab3",
  "rgb": {
    "r": 133,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 281.961,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.22051,
    "h": 312.2
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#851AB3
secondary
#7ECC5D
accent
#F1376F
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #851AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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