#A952EE#A952EE

#A952EE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.227 H 306.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A952EE
RGBrgb(169, 82, 238)
HSLhsl(273, 82%, 63%)
HSVhsv(273, 66%, 93%)
CMYKcmyk(29%, 65.5%, 0%, 6.7%)
CIE-LABlab(52.56, 62.23, -64.51)
CIE-LCHlch(52.56, 89.63, 313.97°)
OKLaboklab(61.82% 0.1351 -0.1828)
OKLCHoklch(61.82% 0.227 306.5)
XYZxyz(34.8088, 20.6430, 83.0231)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952EE #97EE52
analogous
#5B52EE #A952EE #EE52E5
triadic
#A952EE #EEA952 #52EEA9
tetradic
#A952EE #EE5B52 #97EE52 #52E5EE
square
#A952EE #EE5B52 #97EE52 #52E5EE
split-complementary
#A952EE #E5EE52 #52EE5B
monochromatic
#6C12B4 #8D1AE9 #A952EE #C58AF3 #E0C1F9

Accessibility & contrast

On white

4.09
#A952EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A952EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952EE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952EE#FFFFFF#000000##000000
##A952EE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#9D7499
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a952ee;
/* rgb */ color: rgb(169, 82, 238);
/* oklch */ color: oklch(61.8% 0.227 306.5);
Tailwind
colors: {
  custom: {
    50: '#c788f4',
    500: '#a952ee',
    950: '#000000',
  },
}
SCSS
$custom: #a952ee;
$custom-light: #c788f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a952ee",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 273.462,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.22728,
    "h": 306.5
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#A952EE
secondary
#CBEAB2
accent
#DE0766
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #A952EE

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

Preview Lab → · Contrast checker → · Palette generator →

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