#A952E1#A952E1

#A952E1 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.214 H 309.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A952E1
RGBrgb(169, 82, 225)
HSLhsl(277, 70%, 60%)
HSVhsv(277, 64%, 88%)
CMYKcmyk(24.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(51.73, 59.36, -58.53)
CIE-LCHlch(51.73, 83.36, 315.41°)
OKLaboklab(60.97% 0.136 -0.1652)
OKLCHoklch(60.97% 0.214 309.5)
XYZxyz(32.9674, 19.9065, 73.3252)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E1 #8AE152
analogous
#6152E1 #A952E1 #E152D2
triadic
#A952E1 #E1A952 #52E1A9
tetradic
#A952E1 #E16152 #8AE152 #52D2E1
square
#A952E1 #E16152 #8AE152 #52D2E1
split-complementary
#A952E1 #D2E152 #52E161
monochromatic
#6A1B9D #8E24D1 #A952E1 #C386EA #DDBAF3

Accessibility & contrast

On white

4.22
#A952E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A952E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E1#FFFFFF#000000##000000
##A952E11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#A16F92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a952e1;
/* rgb */ color: rgb(169, 82, 225);
/* oklch */ color: oklch(61.0% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#c788eb',
    500: '#a952e1',
    950: '#000000',
  },
}
SCSS
$custom: #a952e1;
$custom-light: #c788eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e1",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 276.503,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.21399,
    "h": 309.5
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#A952E1
secondary
#C1E3AC
accent
#D2135E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952E1

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

Preview Lab → · Contrast checker → · Palette generator →

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