#8052E9#8052E9

#8052E9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.216 H 292.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8052E9
RGBrgb(128, 82, 233)
HSLhsl(258, 77%, 62%)
HSVhsv(258, 65%, 91%)
CMYKcmyk(45.1%, 64.8%, 0%, 8.6%)
CIE-LABlab(47.63, 52.87, -69.90)
CIE-LCHlch(47.63, 87.64, 307.11°)
OKLaboklab(57.14% 0.0815 -0.2)
OKLCHoklch(57.14% 0.216 292.2)
XYZxyz(26.6233, 16.5061, 78.8582)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052E9 #BBE952
analogous
#5270E9 #8052E9 #CC52E9
triadic
#8052E9 #E98052 #52E980
tetradic
#8052E9 #E95270 #BBE952 #52E9CC
square
#8052E9 #E95270 #BBE952 #52E9CC
split-complementary
#8052E9 #E9CC52 #70E952
monochromatic
#4316AB #591DE1 #8052E9 #A888F0 #D0BFF7

Accessibility & contrast

On white

4.88
#8052E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8052E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052E9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052E9#FFFFFF#000000##FFFFFF
##8052E91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#617696
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8052e9;
/* rgb */ color: rgb(128, 82, 233);
/* oklch */ color: oklch(57.1% 0.216 292.2);
Tailwind
colors: {
  custom: {
    50: '#ac85f1',
    500: '#8052e9',
    950: '#000000',
  },
}
SCSS
$custom: #8052e9;
$custom-light: #ac85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8052e9",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 258.278,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.21593,
    "h": 292.2
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#8052E9
secondary
#D6E7AF
accent
#DA0C9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8052E9

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

Preview Lab → · Contrast checker → · Palette generator →

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