#8052CA#8052CA

#8052CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.179 H 297.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8052CA
RGBrgb(128, 82, 202)
HSLhsl(263, 53%, 56%)
HSVhsv(263, 59%, 79%)
CMYKcmyk(36.6%, 59.4%, 0%, 20.8%)
CIE-LABlab(45.48, 44.66, -55.71)
CIE-LCHlch(45.48, 71.40, 308.72°)
OKLaboklab(54.9% 0.0838 -0.1582)
OKLCHoklch(54.9% 0.179 297.9)
XYZxyz(22.5774, 14.8877, 57.5498)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052CA #9CCA52
analogous
#5260CA #8052CA #BC52CA
triadic
#8052CA #CA8052 #52CA80
tetradic
#8052CA #CA5260 #9CCA52 #52CABC
square
#8052CA #CA5260 #9CCA52 #52CABC
split-complementary
#8052CA #CABC52 #60CA52
monochromatic
#47267C #6234AB #8052CA #A281D8 #C5B0E7

Accessibility & contrast

On white

5.28
#8052CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8052CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052CA#FFFFFF#000000##FFFFFF
##8052CA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#6F6C86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8052ca;
/* rgb */ color: rgb(128, 82, 202);
/* oklch */ color: oklch(54.9% 0.179 297.9);
Tailwind
colors: {
  custom: {
    50: '#a984db',
    500: '#8052ca',
    950: '#000000',
  },
}
SCSS
$custom: #8052ca;
$custom-light: #a984db;
$custom-dark: #000000;
JSON
{
  "hex": "#8052ca",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 263,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.549,
    "c": 0.17905,
    "h": 297.9
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#8052CA
secondary
#C2D5A3
accent
#DD4BA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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