#851FAB#851FAB

#851FAB is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.210 H 314.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#851FAB
RGBrgb(133, 31, 171)
HSLhsl(284, 69%, 40%)
HSVhsv(284, 82%, 67%)
CMYKcmyk(22.2%, 81.9%, 0%, 32.9%)
CIE-LABlab(35.81, 61.22, -53.10)
CIE-LCHlch(35.81, 81.04, 319.06°)
OKLaboklab(47.43% 0.1466 -0.1501)
OKLCHoklch(47.43% 0.21 314.3)
XYZxyz(17.5123, 8.9074, 39.3170)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FAB #45AB1F
analogous
#3F1FAB #851FAB #AB1F8B
triadic
#851FAB #AB851F #1FAB85
tetradic
#851FAB #AB3F1F #45AB1F #1F8BAB
square
#851FAB #AB3F1F #45AB1F #1F8BAB
split-complementary
#851FAB #8BAB1F #1FAB3F
monochromatic
#340C43 #5D1677 #851FAB #AB2ED9 #C062E3

Accessibility & contrast

On white

7.55
#851FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#851FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FAB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FAB#FFFFFF#000000##FFFFFF
##851FAB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#1057A8
Tritanopia (blue-blind)
#814267
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #851fab;
/* rgb */ color: rgb(133, 31, 171);
/* oklch */ color: oklch(47.4% 0.210 314.3);
Tailwind
colors: {
  custom: {
    50: '#ad69c5',
    500: '#851fab',
    950: '#000000',
  },
}
SCSS
$custom: #851fab;
$custom-light: #ad69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#851fab",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 283.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.20984,
    "h": 314.3
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#851FAB
secondary
#7BC75E
accent
#EC3C6C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #851FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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