#A952E6#A952E6

#A952E6 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.219 H 308.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A952E6
RGBrgb(169, 82, 230)
HSLhsl(275, 75%, 61%)
HSVhsv(275, 64%, 90%)
CMYKcmyk(26.5%, 64.3%, 0%, 9.8%)
CIE-LABlab(52.04, 60.45, -60.85)
CIE-LCHlch(52.04, 85.77, 314.82°)
OKLaboklab(61.29% 0.1357 -0.172)
OKLCHoklch(61.29% 0.219 308.3)
XYZxyz(33.6595, 20.1833, 76.9701)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E6 #8FE652
analogous
#5F52E6 #A952E6 #E652D9
triadic
#A952E6 #E6A952 #52E6A9
tetradic
#A952E6 #E65F52 #8FE652 #52D9E6
square
#A952E6 #E65F52 #8FE652 #52D9E6
split-complementary
#A952E6 #D9E652 #52E65F
monochromatic
#6B18A6 #8E20DB #A952E6 #C487EE #DEBDF5

Accessibility & contrast

On white

4.17
#A952E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A952E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E6#FFFFFF#000000##000000
##A952E61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#377DE3
Tritanopia (blue-blind)
#A07195
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a952e6;
/* rgb */ color: rgb(169, 82, 230);
/* oklch */ color: oklch(61.3% 0.219 308.3);
Tailwind
colors: {
  custom: {
    50: '#c788ef',
    500: '#a952e6',
    950: '#000000',
  },
}
SCSS
$custom: #a952e6;
$custom-light: #c788ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e6",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 275.27,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.2191,
    "h": 308.3
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#A952E6
secondary
#C5E6AE
accent
#D70F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952E6

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

Preview Lab → · Contrast checker → · Palette generator →

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