#8052DA#8052DA

#8052DA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.198 H 294.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8052DA
RGBrgb(128, 82, 218)
HSLhsl(260, 65%, 59%)
HSVhsv(260, 62%, 85%)
CMYKcmyk(41.3%, 62.4%, 0%, 14.5%)
CIE-LABlab(46.56, 48.87, -63.14)
CIE-LCHlch(46.56, 79.84, 307.74°)
OKLaboklab(56.03% 0.083 -0.1801)
OKLCHoklch(56.03% 0.198 294.7)
XYZxyz(24.5709, 15.6852, 68.0490)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052DA #ACDA52
analogous
#5268DA #8052DA #C452DA
triadic
#8052DA #DA8052 #52DA80
tetradic
#8052DA #DA5268 #ACDA52 #52DAC4
square
#8052DA #DA5268 #ACDA52 #52DAC4
split-complementary
#8052DA #DAC452 #68DA52
monochromatic
#461F92 #5E2AC5 #8052DA #A584E5 #CAB7F0

Accessibility & contrast

On white

5.08
#8052DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8052DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052DA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052DA#FFFFFF#000000##FFFFFF
##8052DA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#68718E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8052da;
/* rgb */ color: rgb(128, 82, 218);
/* oklch */ color: oklch(56.0% 0.198 294.7);
Tailwind
colors: {
  custom: {
    50: '#ab85e6',
    500: '#8052da',
    950: '#000000',
  },
}
SCSS
$custom: #8052da;
$custom-light: #ab85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8052da",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 260.294,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.19826,
    "h": 294.7
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#8052DA
secondary
#CDDFA9
accent
#E840AF
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8052DA

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

Preview Lab → · Contrast checker → · Palette generator →

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