#A052DD#A052DD

#A052DD is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.207 H 307.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A052DD
RGBrgb(160, 82, 221)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27.6%, 62.9%, 0%, 13.3%)
CIE-LABlab(50.37, 56.48, -58.51)
CIE-LCHlch(50.37, 81.32, 313.99°)
OKLaboklab(59.66% 0.1248 -0.1655)
OKLCHoklch(59.66% 0.207 307)
XYZxyz(30.5629, 18.7290, 70.3976)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052DD #8FDD52
analogous
#5B52DD #A052DD #DD52D5
triadic
#A052DD #DDA052 #52DDA0
tetradic
#A052DD #DD5B52 #8FDD52 #52D5DD
square
#A052DD #DD5B52 #8FDD52 #52D5DD
split-complementary
#A052DD #D5DD52 #52DD5B
monochromatic
#621E97 #8328CA #A052DD #BC85E7 #D8B8F1

Accessibility & contrast

On white

4.42
#A052DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A052DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052DD#FFFFFF#000000##000000
##A052DD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3678DA
Tritanopia (blue-blind)
#966F90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a052dd;
/* rgb */ color: rgb(160, 82, 221);
/* oklch */ color: oklch(59.7% 0.207 307.0);
Tailwind
colors: {
  custom: {
    50: '#c087e8',
    500: '#a052dd',
    950: '#000000',
  },
}
SCSS
$custom: #a052dd;
$custom-light: #c087e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a052dd",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 273.669,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.20722,
    "h": 307
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#A052DD
secondary
#C2E0AA
accent
#EA3E89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052DD

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

Preview Lab → · Contrast checker → · Palette generator →

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