#A952E8#A952E8

#A952E8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.221 H 307.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A952E8
RGBrgb(169, 82, 232)
HSLhsl(275, 77%, 62%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(27.2%, 64.7%, 0%, 9%)
CIE-LABlab(52.17, 60.90, -61.77)
CIE-LCHlch(52.17, 86.74, 314.59°)
OKLaboklab(61.42% 0.1355 -0.1747)
OKLCHoklch(61.42% 0.221 307.8)
XYZxyz(33.9420, 20.2963, 78.4578)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E8 #91E852
analogous
#5E52E8 #A952E8 #E852DC
triadic
#A952E8 #E8A952 #52E8A9
tetradic
#A952E8 #E85E52 #91E852 #52DCE8
square
#A952E8 #E85E52 #91E852 #52DCE8
split-complementary
#A952E8 #DCE852 #52E85E
monochromatic
#6C16A9 #8E1EDF #A952E8 #C488EF #DFBEF6

Accessibility & contrast

On white

4.15
#A952E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A952E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E8#FFFFFF#000000##000000
##A952E81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#9F7196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a952e8;
/* rgb */ color: rgb(169, 82, 232);
/* oklch */ color: oklch(61.4% 0.221 307.8);
Tailwind
colors: {
  custom: {
    50: '#c788f0',
    500: '#a952e8',
    950: '#000000',
  },
}
SCSS
$custom: #a952e8;
$custom-light: #c788f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e8",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 274.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.22115,
    "h": 307.8
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#A952E8
secondary
#C6E7AF
accent
#D90D62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A952E8

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

Preview Lab → · Contrast checker → · Palette generator →

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