#8052E8#8052E8

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

Color values

HEX#8052E8
RGBrgb(128, 82, 232)
HSLhsl(258, 77%, 62%)
HSVhsv(258, 65%, 91%)
CMYKcmyk(44.8%, 64.7%, 0%, 9%)
CIE-LABlab(47.56, 52.61, -69.45)
CIE-LCHlch(47.56, 87.13, 307.14°)
OKLaboklab(57.07% 0.0816 -0.1986)
OKLCHoklch(57.07% 0.215 292.3)
XYZxyz(26.4808, 16.4491, 78.1080)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052E8 #BAE852
analogous
#526FE8 #8052E8 #CB52E8
triadic
#8052E8 #E88052 #52E880
tetradic
#8052E8 #E8526F #BAE852 #52E8CB
square
#8052E8 #E8526F #BAE852 #52E8CB
split-complementary
#8052E8 #E8CB52 #6FE852
monochromatic
#4316A9 #591EDF #8052E8 #A888EF #CFBEF6

Accessibility & contrast

On white

4.90
#8052E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8052E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052E8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052E8#FFFFFF#000000##FFFFFF
##8052E81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8052e8;
/* rgb */ color: rgb(128, 82, 232);
/* oklch */ color: oklch(57.1% 0.215 292.3);
Tailwind
colors: {
  custom: {
    50: '#ac85f0',
    500: '#8052e8',
    950: '#000000',
  },
}
SCSS
$custom: #8052e8;
$custom-light: #ac85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8052e8",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 258.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.21477,
    "h": 292.3
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8052E8

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

Preview Lab → · Contrast checker → · Palette generator →

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