#851FB2#851FB2

#851FB2 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.216 H 312.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#851FB2
RGBrgb(133, 31, 178)
HSLhsl(282, 70%, 41%)
HSVhsv(282, 83%, 70%)
CMYKcmyk(25.3%, 82.6%, 0%, 30.2%)
CIE-LABlab(36.33, 62.61, -56.42)
CIE-LCHlch(36.33, 84.28, 317.98°)
OKLaboklab(47.96% 0.145 -0.1599)
OKLCHoklch(47.96% 0.216 312.2)
XYZxyz(18.1972, 9.1814, 42.9244)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851FB2 #4CB21F
analogous
#3C1FB2 #851FB2 #B21F95
triadic
#851FB2 #B2851F #1FB285
tetradic
#851FB2 #B23C1F #4CB21F #1F95B2
square
#851FB2 #B23C1F #4CB21F #1F95B2
split-complementary
#851FB2 #95B21F #1FB23C
monochromatic
#370D4A #5E167E #851FB2 #A833DB #BE67E5

Accessibility & contrast

On white

7.40
#851FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#851FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851FB2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851FB2#FFFFFF#000000##FFFFFF
##851FB21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851fb2;
/* rgb */ color: rgb(133, 31, 178);
/* oklch */ color: oklch(48.0% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#ae69ca',
    500: '#851fb2',
    950: '#000000',
  },
}
SCSS
$custom: #851fb2;
$custom-light: #ae69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#851fb2",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 281.633,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.21587,
    "h": 312.2
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#851FB2
secondary
#82CA63
accent
#ED3B71
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #851FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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