#8052DB#8052DB

#8052DB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.199 H 294.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8052DB
RGBrgb(128, 82, 219)
HSLhsl(260, 66%, 59%)
HSVhsv(260, 63%, 86%)
CMYKcmyk(41.6%, 62.6%, 0%, 14.1%)
CIE-LABlab(46.63, 49.13, -63.59)
CIE-LCHlch(46.63, 80.36, 307.69°)
OKLaboklab(56.1% 0.0829 -0.1814)
OKLCHoklch(56.1% 0.199 294.6)
XYZxyz(24.7022, 15.7377, 68.7403)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052DB #ADDB52
analogous
#5269DB #8052DB #C552DB
triadic
#8052DB #DB8052 #52DB80
tetradic
#8052DB #DB5269 #ADDB52 #52DBC5
square
#8052DB #DB5269 #ADDB52 #52DBC5
split-complementary
#8052DB #DBC552 #69DB52
monochromatic
#461F94 #5E29C6 #8052DB #A585E6 #CAB7F0

Accessibility & contrast

On white

5.06
#8052DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8052DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052DB#FFFFFF#000000##FFFFFF
##8052DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#68718F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8052db;
/* rgb */ color: rgb(128, 82, 219);
/* oklch */ color: oklch(56.1% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#ab85e7',
    500: '#8052db',
    950: '#000000',
  },
}
SCSS
$custom: #8052db;
$custom-light: #ab85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8052db",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 260.146,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.561,
    "c": 0.19946,
    "h": 294.6
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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