#A952E5#A952E5

#A952E5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.218 H 308.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A952E5
RGBrgb(169, 82, 229)
HSLhsl(276, 74%, 61%)
HSVhsv(276, 64%, 90%)
CMYKcmyk(26.2%, 64.2%, 0%, 10.2%)
CIE-LABlab(51.98, 60.24, -60.38)
CIE-LCHlch(51.98, 85.29, 314.93°)
OKLaboklab(61.22% 0.1358 -0.1707)
OKLCHoklch(61.22% 0.218 308.5)
XYZxyz(33.5195, 20.1273, 76.2327)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E5 #8EE552
analogous
#5F52E5 #A952E5 #E552D7
triadic
#A952E5 #E5A952 #52E5A9
tetradic
#A952E5 #E55F52 #8EE552 #52D7E5
square
#A952E5 #E55F52 #8EE552 #52D7E5
split-complementary
#A952E5 #D7E552 #52E55F
monochromatic
#6B19A4 #8E21D9 #A952E5 #C387ED #DEBCF5

Accessibility & contrast

On white

4.18
#A952E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A952E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E5#FFFFFF#000000##000000
##A952E51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#A07094
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a952e5;
/* rgb */ color: rgb(169, 82, 229);
/* oklch */ color: oklch(61.2% 0.218 308.5);
Tailwind
colors: {
  custom: {
    50: '#c788ee',
    500: '#a952e5',
    950: '#000000',
  },
}
SCSS
$custom: #a952e5;
$custom-light: #c788ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e5",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 275.51,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.21807,
    "h": 308.5
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#A952E5
secondary
#C4E5AE
accent
#D61061
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952E5

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

Preview Lab → · Contrast checker → · Palette generator →

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