#A952DC#A952DC

#A952DC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.209 H 310.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A952DC
RGBrgb(169, 82, 220)
HSLhsl(278, 66%, 59%)
HSVhsv(278, 63%, 86%)
CMYKcmyk(23.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(51.42, 58.28, -56.19)
CIE-LCHlch(51.42, 80.95, 316.05°)
OKLaboklab(60.65% 0.1362 -0.1584)
OKLCHoklch(60.65% 0.209 310.7)
XYZxyz(32.2953, 19.6376, 69.7854)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952DC #85DC52
analogous
#6452DC #A952DC #DC52CA
triadic
#A952DC #DCA952 #52DCA9
tetradic
#A952DC #DC6452 #85DC52 #52CADC
square
#A952DC #DC6452 #85DC52 #52CADC
split-complementary
#A952DC #CADC52 #52DC64
monochromatic
#691E95 #8D29C8 #A952DC #C285E6 #DCB8F1

Accessibility & contrast

On white

4.26
#A952DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A952DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952DC#FFFFFF#000000##000000
##A952DC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0976E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#A26D90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a952dc;
/* rgb */ color: rgb(169, 82, 220);
/* oklch */ color: oklch(60.6% 0.209 310.7);
Tailwind
colors: {
  custom: {
    50: '#c688e7',
    500: '#a952dc',
    950: '#000000',
  },
}
SCSS
$custom: #a952dc;
$custom-light: #c688e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a952dc",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 277.826,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.20888,
    "h": 310.7
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#A952DC
secondary
#BEE0AA
accent
#E93F7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952DC

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

Preview Lab → · Contrast checker → · Palette generator →

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