#8052DC#8052DC

#8052DC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.201 H 294.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8052DC
RGBrgb(128, 82, 220)
HSLhsl(260, 66%, 59%)
HSVhsv(260, 63%, 86%)
CMYKcmyk(41.8%, 62.7%, 0%, 13.7%)
CIE-LABlab(46.70, 49.40, -64.05)
CIE-LCHlch(46.70, 80.88, 307.64°)
OKLaboklab(56.17% 0.0828 -0.1828)
OKLCHoklch(56.17% 0.201 294.4)
XYZxyz(24.8342, 15.7905, 69.4357)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052DC #AEDC52
analogous
#5269DC #8052DC #C552DC
triadic
#8052DC #DC8052 #52DC80
tetradic
#8052DC #DC5269 #AEDC52 #52DCC5
square
#8052DC #DC5269 #AEDC52 #52DCC5
split-complementary
#8052DC #DCC552 #69DC52
monochromatic
#461E95 #5E29C8 #8052DC #A585E6 #CBB8F1

Accessibility & contrast

On white

5.05
#8052DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8052DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052DC#FFFFFF#000000##FFFFFF
##8052DC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#677290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8052dc;
/* rgb */ color: rgb(128, 82, 220);
/* oklch */ color: oklch(56.2% 0.201 294.4);
Tailwind
colors: {
  custom: {
    50: '#ab85e8',
    500: '#8052dc',
    950: '#000000',
  },
}
SCSS
$custom: #8052dc;
$custom-light: #ab85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8052dc",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 260,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.20064,
    "h": 294.4
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#8052DC
secondary
#CEE0AA
accent
#E93FB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8052DC

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

Preview Lab → · Contrast checker → · Palette generator →

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