#A052DC#A052DC

#A052DC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.206 H 307.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A052DC
RGBrgb(160, 82, 220)
HSLhsl(274, 66%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(27.3%, 62.7%, 0%, 13.7%)
CIE-LABlab(50.31, 56.25, -58.05)
CIE-LCHlch(50.31, 80.83, 314.10°)
OKLaboklab(59.6% 0.1248 -0.1641)
OKLCHoklch(59.6% 0.206 307.3)
XYZxyz(30.4301, 18.6758, 69.6980)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052DC #8EDC52
analogous
#5B52DC #A052DC #DC52D3
triadic
#A052DC #DCA052 #52DCA0
tetradic
#A052DC #DC5B52 #8EDC52 #52D3DC
square
#A052DC #DC5B52 #8EDC52 #52D3DC
split-complementary
#A052DC #D3DC52 #52DC5B
monochromatic
#621E95 #8329C8 #A052DC #BC85E6 #D8B8F1

Accessibility & contrast

On white

4.44
#A052DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A052DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052DC#FFFFFF#000000##000000
##A052DC1.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#966E90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a052dc;
/* rgb */ color: rgb(160, 82, 220);
/* oklch */ color: oklch(59.6% 0.206 307.3);
Tailwind
colors: {
  custom: {
    50: '#c087e8',
    500: '#a052dc',
    950: '#000000',
  },
}
SCSS
$custom: #a052dc;
$custom-light: #c087e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a052dc",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 273.913,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.20616,
    "h": 307.3
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#A052DC
secondary
#C1E0AA
accent
#E93F89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052DC

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

Preview Lab → · Contrast checker → · Palette generator →

#A052DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva