#8052D4#8052D4

#8052D4 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.191 H 295.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8052D4
RGBrgb(128, 82, 212)
HSLhsl(261, 60%, 58%)
HSVhsv(261, 61%, 83%)
CMYKcmyk(39.6%, 61.3%, 0%, 16.9%)
CIE-LABlab(46.15, 47.28, -60.38)
CIE-LCHlch(46.15, 76.68, 308.06°)
OKLaboklab(55.6% 0.0834 -0.172)
OKLCHoklch(55.6% 0.191 295.9)
XYZxyz(23.7999, 15.3768, 63.9887)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052D4 #A6D452
analogous
#5265D4 #8052D4 #C152D4
triadic
#8052D4 #D48052 #52D480
tetradic
#8052D4 #D45265 #A6D452 #52D4C1
square
#8052D4 #D45265 #A6D452 #52D4C1
split-complementary
#8052D4 #D4C152 #65D452
monochromatic
#472289 #602EBA #8052D4 #A483E0 #C8B4EC

Accessibility & contrast

On white

5.15
#8052D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8052D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052D4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052D4#FFFFFF#000000##FFFFFF
##8052D41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#066BD1
Tritanopia (blue-blind)
#6B6F8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8052d4;
/* rgb */ color: rgb(128, 82, 212);
/* oklch */ color: oklch(55.6% 0.191 295.9);
Tailwind
colors: {
  custom: {
    50: '#aa85e2',
    500: '#8052d4',
    950: '#000000',
  },
}
SCSS
$custom: #8052d4;
$custom-light: #aa85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8052d4",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 261.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.1911,
    "h": 295.9
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#8052D4
secondary
#C9DBA7
accent
#E344AB
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8052D4

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

Preview Lab → · Contrast checker → · Palette generator →

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