#A952EA#A952EA

#A952EA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.223 H 307.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A952EA
RGBrgb(169, 82, 234)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 65%, 92%)
CMYKcmyk(27.8%, 65%, 0%, 8.2%)
CIE-LABlab(52.30, 61.34, -62.69)
CIE-LCHlch(52.30, 87.70, 314.38°)
OKLaboklab(61.55% 0.1354 -0.1774)
OKLCHoklch(61.55% 0.223 307.3)
XYZxyz(34.2277, 20.4105, 79.9624)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952EA #93EA52
analogous
#5D52EA #A952EA #EA52DF
triadic
#A952EA #EAA952 #52EAA9
tetradic
#A952EA #EA5D52 #93EA52 #52DFEA
square
#A952EA #EA5D52 #93EA52 #52DFEA
split-complementary
#A952EA #DFEA52 #52EA5D
monochromatic
#6C15AD #8E1CE3 #A952EA #C489F1 #DFBFF7

Accessibility & contrast

On white

4.13
#A952EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A952EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952EA#FFFFFF#000000##000000
##A952EA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#9F7297
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a952ea;
/* rgb */ color: rgb(169, 82, 234);
/* oklch */ color: oklch(61.6% 0.223 307.3);
Tailwind
colors: {
  custom: {
    50: '#c788f1',
    500: '#a952ea',
    950: '#000000',
  },
}
SCSS
$custom: #a952ea;
$custom-light: #c788f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a952ea",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 274.342,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.22319,
    "h": 307.3
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#A952EA
secondary
#C8E8B0
accent
#DB0B64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A952EA

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

Preview Lab → · Contrast checker → · Palette generator →

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