#8052EA#8052EA

#8052EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.217 H 292.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8052EA
RGBrgb(128, 82, 234)
HSLhsl(258, 78%, 62%)
HSVhsv(258, 65%, 92%)
CMYKcmyk(45.3%, 65%, 0%, 8.2%)
CIE-LABlab(47.71, 53.14, -70.34)
CIE-LCHlch(47.71, 88.16, 307.07°)
OKLaboklab(57.22% 0.0814 -0.2013)
OKLCHoklch(57.22% 0.217 292)
XYZxyz(26.7665, 16.5634, 79.6127)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052EA #BCEA52
analogous
#5270EA #8052EA #CC52EA
triadic
#8052EA #EA8052 #52EA80
tetradic
#8052EA #EA5270 #BCEA52 #52EACC
square
#8052EA #EA5270 #BCEA52 #52EACC
split-complementary
#8052EA #EACC52 #70EA52
monochromatic
#4315AD #581CE3 #8052EA #A889F1 #D0BFF7

Accessibility & contrast

On white

4.87
#8052EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8052EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052EA#FFFFFF#000000##FFFFFF
##8052EA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#607797
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8052ea;
/* rgb */ color: rgb(128, 82, 234);
/* oklch */ color: oklch(57.2% 0.217 292.0);
Tailwind
colors: {
  custom: {
    50: '#ad85f2',
    500: '#8052ea',
    950: '#000000',
  },
}
SCSS
$custom: #8052ea;
$custom-light: #ad85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8052ea",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 258.158,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.21711,
    "h": 292
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#8052EA
secondary
#D7E8B0
accent
#DB0B9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8052EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8052EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva