#851EA7#851EA7

#851EA7 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.207 H 315.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#851EA7
RGBrgb(133, 30, 167)
HSLhsl(285, 70%, 39%)
HSVhsv(285, 82%, 65%)
CMYKcmyk(20.4%, 82%, 0%, 34.5%)
CIE-LABlab(35.41, 60.72, -51.34)
CIE-LCHlch(35.41, 79.52, 319.79°)
OKLaboklab(47.06% 0.1481 -0.145)
OKLCHoklch(47.06% 0.207 315.6)
XYZxyz(17.1111, 8.7058, 37.3308)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851EA7 #40A71E
analogous
#401EA7 #851EA7 #A71E84
triadic
#851EA7 #A7851E #1EA785
tetradic
#851EA7 #A7401E #40A71E #1E84A7
square
#851EA7 #A7401E #40A71E #1E84A7
split-complementary
#851EA7 #84A71E #1EA740
monochromatic
#320B3F #5C1573 #851EA7 #AD2AD9 #C15DE2

Accessibility & contrast

On white

7.66
#851EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#851EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851EA7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851EA7#FFFFFF#000000##FFFFFF
##851EA71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1856A4
Tritanopia (blue-blind)
#824064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #851ea7;
/* rgb */ color: rgb(133, 30, 167);
/* oklch */ color: oklch(47.1% 0.207 315.6);
Tailwind
colors: {
  custom: {
    50: '#ad68c2',
    500: '#851ea7',
    950: '#000000',
  },
}
SCSS
$custom: #851ea7;
$custom-light: #ad68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#851ea7",
  "rgb": {
    "r": 133,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 285.109,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.20727,
    "h": 315.6
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#851EA7
secondary
#75C65B
accent
#EC3B67
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #851EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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