#8052E6#8052E6

#8052E6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.212 H 292.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8052E6
RGBrgb(128, 82, 230)
HSLhsl(259, 75%, 61%)
HSVhsv(259, 64%, 90%)
CMYKcmyk(44.3%, 64.3%, 0%, 9.8%)
CIE-LABlab(47.41, 52.07, -68.56)
CIE-LCHlch(47.41, 86.09, 307.22°)
OKLaboklab(56.92% 0.0819 -0.196)
OKLCHoklch(56.92% 0.212 292.7)
XYZxyz(26.1984, 16.3361, 76.6204)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052E6 #B8E652
analogous
#526EE6 #8052E6 #CA52E6
triadic
#8052E6 #E68052 #52E680
tetradic
#8052E6 #E6526E #B8E652 #52E6CA
square
#8052E6 #E6526E #B8E652 #52E6CA
split-complementary
#8052E6 #E6CA52 #6EE652
monochromatic
#4418A6 #5A20DB #8052E6 #A787EE #CFBDF5

Accessibility & contrast

On white

4.92
#8052E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8052E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052E6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052E6#FFFFFF#000000##FFFFFF
##8052E61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#627595
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8052e6;
/* rgb */ color: rgb(128, 82, 230);
/* oklch */ color: oklch(56.9% 0.212 292.7);
Tailwind
colors: {
  custom: {
    50: '#ac85ef',
    500: '#8052e6',
    950: '#000000',
  },
}
SCSS
$custom: #8052e6;
$custom-light: #ac85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8052e6",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 258.649,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.21243,
    "h": 292.7
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#8052E6
secondary
#D4E6AE
accent
#D70F99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8052E6

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

Preview Lab → · Contrast checker → · Palette generator →

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