#8052CD#8052CD

#8052CD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.183 H 297.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8052CD
RGBrgb(128, 82, 205)
HSLhsl(262, 55%, 56%)
HSVhsv(262, 60%, 80%)
CMYKcmyk(37.6%, 60%, 0%, 19.6%)
CIE-LABlab(45.68, 45.44, -57.12)
CIE-LCHlch(45.68, 72.99, 308.50°)
OKLaboklab(55.11% 0.0837 -0.1624)
OKLCHoklch(55.11% 0.183 297.3)
XYZxyz(22.9360, 15.0312, 59.4387)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052CD #9FCD52
analogous
#5262CD #8052CD #BE52CD
triadic
#8052CD #CD8052 #52CD80
tetradic
#8052CD #CD5262 #9FCD52 #52CDBE
square
#8052CD #CD5262 #9FCD52 #52CDBE
split-complementary
#8052CD #CDBE52 #62CD52
monochromatic
#472580 #6133AF #8052CD #A381DB #C6B1E8

Accessibility & contrast

On white

5.24
#8052CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8052CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052CD#FFFFFF#000000##FFFFFF
##8052CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#1E6BCA
Tritanopia (blue-blind)
#6E6D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8052cd;
/* rgb */ color: rgb(128, 82, 205);
/* oklch */ color: oklch(55.1% 0.183 297.3);
Tailwind
colors: {
  custom: {
    50: '#aa85dd',
    500: '#8052cd',
    950: '#000000',
  },
}
SCSS
$custom: #8052cd;
$custom-light: #aa85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8052cd",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 262.439,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.18267,
    "h": 297.3
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8052CD

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

Preview Lab → · Contrast checker → · Palette generator →

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