#8052CE#8052CE

#8052CE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.184 H 297.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8052CE
RGBrgb(128, 82, 206)
HSLhsl(262, 56%, 56%)
HSVhsv(262, 60%, 81%)
CMYKcmyk(37.9%, 60.2%, 0%, 19.2%)
CIE-LABlab(45.74, 45.70, -57.58)
CIE-LCHlch(45.74, 73.52, 308.44°)
OKLaboklab(55.18% 0.0837 -0.1637)
OKLCHoklch(55.18% 0.184 297.1)
XYZxyz(23.0571, 15.0796, 60.0764)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052CE #A0CE52
analogous
#5262CE #8052CE #BE52CE
triadic
#8052CE #CE8052 #52CE80
tetradic
#8052CE #CE5262 #A0CE52 #52CEBE
square
#8052CE #CE5262 #A0CE52 #52CEBE
split-complementary
#8052CE #CEBE52 #62CE52
monochromatic
#472581 #6132B1 #8052CE #A382DC #C6B1E9

Accessibility & contrast

On white

5.23
#8052CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8052CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052CE#FFFFFF#000000##FFFFFF
##8052CE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#1B6BCB
Tritanopia (blue-blind)
#6D6D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8052ce;
/* rgb */ color: rgb(128, 82, 206);
/* oklch */ color: oklch(55.2% 0.184 297.1);
Tailwind
colors: {
  custom: {
    50: '#aa85de',
    500: '#8052ce',
    950: '#000000',
  },
}
SCSS
$custom: #8052ce;
$custom-light: #aa85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8052ce",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 262.258,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.18388,
    "h": 297.1
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#8052CE
secondary
#C4D7A4
accent
#DF49A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8052CE

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

Preview Lab → · Contrast checker → · Palette generator →

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