#8051E1#8051E1

#8051E1 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.208 H 293.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8051E1
RGBrgb(128, 81, 225)
HSLhsl(260, 71%, 60%)
HSVhsv(260, 64%, 88%)
CMYKcmyk(43.1%, 64%, 0%, 11.8%)
CIE-LABlab(46.86, 51.26, -66.63)
CIE-LCHlch(46.86, 84.07, 307.57°)
OKLaboklab(56.4% 0.0834 -0.1904)
OKLCHoklch(56.4% 0.208 293.7)
XYZxyz(25.4314, 15.9096, 72.9505)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051E1 #B2E151
analogous
#516AE1 #8051E1 #C851E1
triadic
#8051E1 #E18051 #51E180
tetradic
#8051E1 #E1516A #B2E151 #51E1C8
square
#8051E1 #E1516A #B2E151 #51E1C8
split-complementary
#8051E1 #E1C851 #6AE151
monochromatic
#451B9D #5C24D1 #8051E1 #A685EA #CCB9F3

Accessibility & contrast

On white

5.02
#8051E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8051E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051E1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051E1#FFFFFF#000000##FFFFFF
##8051E11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#657392
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8051e1;
/* rgb */ color: rgb(128, 81, 225);
/* oklch */ color: oklch(56.4% 0.208 293.7);
Tailwind
colors: {
  custom: {
    50: '#ac84eb',
    500: '#8051e1',
    950: '#000000',
  },
}
SCSS
$custom: #8051e1;
$custom-light: #ac84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8051e1",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 259.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.20783,
    "h": 293.7
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#8051E1
secondary
#D1E3AB
accent
#ED3AB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8051E1

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

Preview Lab → · Contrast checker → · Palette generator →

#8051E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva