#851CB4#851CB4

#851CB4 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.9% C 0.220 H 311.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#851CB4
RGBrgb(133, 28, 180)
HSLhsl(281, 73%, 41%)
HSVhsv(281, 84%, 71%)
CMYKcmyk(26.1%, 84.4%, 0%, 29.4%)
CIE-LABlab(36.20, 63.85, -57.82)
CIE-LCHlch(36.20, 86.14, 317.83°)
OKLaboklab(47.92% 0.1465 -0.164)
OKLCHoklch(47.92% 0.22 311.8)
XYZxyz(18.3248, 9.1129, 43.9648)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851CB4 #4BB41C
analogous
#391CB4 #851CB4 #B41C97
triadic
#851CB4 #B4851C #1CB485
tetradic
#851CB4 #B4391C #4BB41C #1C97B4
square
#851CB4 #B4391C #4BB41C #1C97B4
split-complementary
#851CB4 #97B41C #1CB439
monochromatic
#370C4A #5E147F #851CB4 #A82FDF #BE64E7

Accessibility & contrast

On white

7.44
#851CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#851CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851CB4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851CB4#FFFFFF#000000##FFFFFF
##851CB41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851cb4;
/* rgb */ color: rgb(133, 28, 180);
/* oklch */ color: oklch(47.9% 0.220 311.8);
Tailwind
colors: {
  custom: {
    50: '#ae68cb',
    500: '#851cb4',
    950: '#000000',
  },
}
SCSS
$custom: #851cb4;
$custom-light: #ae68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#851cb4",
  "rgb": {
    "r": 133,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 281.447,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47918,
    "c": 0.21992,
    "h": 311.8
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#851CB4
secondary
#81CC60
accent
#F03871
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #851CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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