#A952E2#A952E2

#A952E2 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.215 H 309.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A952E2
RGBrgb(169, 82, 226)
HSLhsl(276, 71%, 60%)
HSVhsv(276, 64%, 89%)
CMYKcmyk(25.2%, 63.7%, 0%, 11.4%)
CIE-LABlab(51.79, 59.58, -58.99)
CIE-LCHlch(51.79, 83.84, 315.28°)
OKLaboklab(61.03% 0.1359 -0.1666)
OKLCHoklch(61.03% 0.215 309.2)
XYZxyz(33.1042, 19.9612, 74.0457)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E2 #8BE252
analogous
#6152E2 #A952E2 #E252D3
triadic
#A952E2 #E2A952 #52E2A9
tetradic
#A952E2 #E26152 #8BE252 #52D3E2
square
#A952E2 #E26152 #8BE252 #52D3E2
split-complementary
#A952E2 #D3E252 #52E261
monochromatic
#6B1B9F #8E23D3 #A952E2 #C386EB #DDBBF4

Accessibility & contrast

On white

4.21
#A952E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A952E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E2#FFFFFF#000000##000000
##A952E21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#A16F93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a952e2;
/* rgb */ color: rgb(169, 82, 226);
/* oklch */ color: oklch(61.0% 0.215 309.2);
Tailwind
colors: {
  custom: {
    50: '#c788ec',
    500: '#a952e2',
    950: '#000000',
  },
}
SCSS
$custom: #a952e2;
$custom-light: #c788ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e2",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 276.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.21501,
    "h": 309.2
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#A952E2
secondary
#C2E3AC
accent
#D3125F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952E2

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

Preview Lab → · Contrast checker → · Palette generator →

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