#8052D5#8052D5

#8052D5 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.192 H 295.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8052D5
RGBrgb(128, 82, 213)
HSLhsl(261, 61%, 58%)
HSVhsv(261, 62%, 84%)
CMYKcmyk(39.9%, 61.5%, 0%, 16.5%)
CIE-LABlab(46.21, 47.54, -60.84)
CIE-LCHlch(46.21, 77.21, 308.01°)
OKLaboklab(55.67% 0.0833 -0.1733)
OKLCHoklch(55.67% 0.192 295.7)
XYZxyz(23.9265, 15.4274, 64.6551)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052D5 #A7D552
analogous
#5265D5 #8052D5 #C252D5
triadic
#8052D5 #D58052 #52D580
tetradic
#8052D5 #D55265 #A7D552 #52D5C2
square
#8052D5 #D55265 #A7D552 #52D5C2
split-complementary
#8052D5 #D5C252 #65D552
monochromatic
#47228B #602EBC #8052D5 #A483E1 #C8B4ED

Accessibility & contrast

On white

5.14
#8052D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8052D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052D5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052D5#FFFFFF#000000##FFFFFF
##8052D51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#016CD2
Tritanopia (blue-blind)
#6B6F8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8052d5;
/* rgb */ color: rgb(128, 82, 213);
/* oklch */ color: oklch(55.7% 0.192 295.7);
Tailwind
colors: {
  custom: {
    50: '#aa85e3',
    500: '#8052d5',
    950: '#000000',
  },
}
SCSS
$custom: #8052d5;
$custom-light: #aa85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8052d5",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 261.069,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.1923,
    "h": 295.7
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#8052D5
secondary
#C9DCA7
accent
#E444AC
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8052D5

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

Preview Lab → · Contrast checker → · Palette generator →

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