#8052D8#8052D8

#8052D8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.196 H 295.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8052D8
RGBrgb(128, 82, 216)
HSLhsl(261, 63%, 58%)
HSVhsv(261, 62%, 85%)
CMYKcmyk(40.7%, 62%, 0%, 15.3%)
CIE-LABlab(46.42, 48.34, -62.22)
CIE-LCHlch(46.42, 78.79, 307.84°)
OKLaboklab(55.88% 0.0831 -0.1774)
OKLCHoklch(55.88% 0.196 295.1)
XYZxyz(24.3108, 15.5811, 66.6790)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052D8 #AAD852
analogous
#5267D8 #8052D8 #C352D8
triadic
#8052D8 #D88052 #52D880
tetradic
#8052D8 #D85267 #AAD852 #52D8C3
square
#8052D8 #D85267 #AAD852 #52D8C3
split-complementary
#8052D8 #D8C352 #67D852
monochromatic
#46208F #5F2CC1 #8052D8 #A584E3 #C9B6EF

Accessibility & contrast

On white

5.10
#8052D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8052D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052D8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052D8#FFFFFF#000000##FFFFFF
##8052D81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#69708D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8052d8;
/* rgb */ color: rgb(128, 82, 216);
/* oklch */ color: oklch(55.9% 0.196 295.1);
Tailwind
colors: {
  custom: {
    50: '#ab85e5',
    500: '#8052d8',
    950: '#000000',
  },
}
SCSS
$custom: #8052d8;
$custom-light: #ab85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8052d8",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 260.597,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.19588,
    "h": 295.1
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#8052D8
secondary
#CBDDA8
accent
#E642AE
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8052D8

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

Preview Lab → · Contrast checker → · Palette generator →

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