#851FB4#851FB4

#851FB4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.218 H 311.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#851FB4
RGBrgb(133, 31, 180)
HSLhsl(281, 71%, 41%)
HSVhsv(281, 83%, 71%)
CMYKcmyk(26.1%, 82.8%, 0%, 29.4%)
CIE-LABlab(36.48, 63.01, -57.36)
CIE-LCHlch(36.48, 85.21, 317.69°)
OKLaboklab(48.12% 0.1445 -0.1627)
OKLCHoklch(48.12% 0.218 311.6)
XYZxyz(18.3995, 9.2623, 43.9897)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FB4 #4EB41F
analogous
#3B1FB4 #851FB4 #B41F99
triadic
#851FB4 #B4851F #1FB485
tetradic
#851FB4 #B43B1F #4EB41F #1F99B4
square
#851FB4 #B43B1F #4EB41F #1F99B4
split-complementary
#851FB4 #99B41F #1FB43B
monochromatic
#380D4C #5E1680 #851FB4 #A734DC #BE68E5

Accessibility & contrast

On white

7.36
#851FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#851FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FB4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FB4#FFFFFF#000000##FFFFFF
##851FB41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#7F466C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #851fb4;
/* rgb */ color: rgb(133, 31, 180);
/* oklch */ color: oklch(48.1% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#ae69cb',
    500: '#851fb4',
    950: '#000000',
  },
}
SCSS
$custom: #851fb4;
$custom-light: #ae69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#851fb4",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 281.074,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48116,
    "c": 0.2176,
    "h": 311.6
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#851FB4
secondary
#84CB64
accent
#ED3A73
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #851FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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