#A952E9#A952E9

#A952E9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.5% C 0.222 H 307.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A952E9
RGBrgb(169, 82, 233)
HSLhsl(275, 77%, 62%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(27.5%, 64.8%, 0%, 8.6%)
CIE-LABlab(52.23, 61.12, -62.23)
CIE-LCHlch(52.23, 87.22, 314.48°)
OKLaboklab(61.49% 0.1355 -0.1761)
OKLCHoklch(61.49% 0.222 307.6)
XYZxyz(34.0844, 20.3532, 79.2080)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E9 #92E952
analogous
#5E52E9 #A952E9 #E952DD
triadic
#A952E9 #E9A952 #52E9A9
tetradic
#A952E9 #E95E52 #92E952 #52DDE9
square
#A952E9 #E95E52 #92E952 #52DDE9
split-complementary
#A952E9 #DDE952 #52E95E
monochromatic
#6C16AB #8E1DE1 #A952E9 #C488F0 #DFBFF7

Accessibility & contrast

On white

4.14
#A952E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A952E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E9#FFFFFF#000000##000000
##A952E91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#337DE6
Tritanopia (blue-blind)
#9F7297
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a952e9;
/* rgb */ color: rgb(169, 82, 233);
/* oklch */ color: oklch(61.5% 0.222 307.6);
Tailwind
colors: {
  custom: {
    50: '#c788f1',
    500: '#a952e9',
    950: '#000000',
  },
}
SCSS
$custom: #a952e9;
$custom-light: #c788f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e9",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 274.57,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.22217,
    "h": 307.6
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#A952E9
secondary
#C7E7AF
accent
#DA0C63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A952E9

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

Preview Lab → · Contrast checker → · Palette generator →

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