#8051EE#8051EE

#8051EE is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.223 H 291.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8051EE
RGBrgb(128, 81, 238)
HSLhsl(258, 82%, 63%)
HSVhsv(258, 66%, 93%)
CMYKcmyk(46.2%, 66%, 0%, 6.7%)
CIE-LABlab(47.81, 54.74, -72.42)
CIE-LCHlch(47.81, 90.78, 307.08°)
OKLaboklab(57.39% 0.0819 -0.2074)
OKLCHoklch(57.39% 0.223 291.5)
XYZxyz(27.2728, 16.6461, 82.6484)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051EE #BFEE51
analogous
#5170EE #8051EE #CF51EE
triadic
#8051EE #EE8051 #51EE80
tetradic
#8051EE #EE5170 #BFEE51 #51EECF
square
#8051EE #EE5170 #BFEE51 #51EECF
split-complementary
#8051EE #EECF51 #70EE51
monochromatic
#4211B3 #5719E9 #8051EE #A989F3 #D1C1F9

Accessibility & contrast

On white

4.85
#8051EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8051EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051EE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051EE#FFFFFF#000000##FFFFFF
##8051EE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#5E7799
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8051ee;
/* rgb */ color: rgb(128, 81, 238);
/* oklch */ color: oklch(57.4% 0.223 291.5);
Tailwind
colors: {
  custom: {
    50: '#ad85f5',
    500: '#8051ee',
    950: '#000000',
  },
}
SCSS
$custom: #8051ee;
$custom-light: #ad85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8051ee",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 257.962,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.22296,
    "h": 291.5
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#8051EE
secondary
#D9EAB1
accent
#DF079E
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8051EE

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

Preview Lab → · Contrast checker → · Palette generator →

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