#A952E4#A952E4

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

Color values

HEX#A952E4
RGBrgb(169, 82, 228)
HSLhsl(276, 73%, 61%)
HSVhsv(276, 64%, 89%)
CMYKcmyk(25.9%, 64%, 0%, 10.6%)
CIE-LABlab(51.92, 60.02, -59.92)
CIE-LCHlch(51.92, 84.81, 315.05°)
OKLaboklab(61.16% 0.1358 -0.1693)
OKLCHoklch(61.16% 0.217 308.7)
XYZxyz(33.3803, 20.0716, 75.4995)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E4 #8DE452
analogous
#6052E4 #A952E4 #E452D6
triadic
#A952E4 #E4A952 #52E4A9
tetradic
#A952E4 #E46052 #8DE452 #52D6E4
square
#A952E4 #E46052 #8DE452 #52D6E4
split-complementary
#A952E4 #D6E452 #52E460
monochromatic
#6B19A2 #8E22D7 #A952E4 #C387EC #DEBCF5

Accessibility & contrast

On white

4.19
#A952E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A952E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E4#FFFFFF#000000##000000
##A952E41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#A07094
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a952e4;
/* rgb */ color: rgb(169, 82, 228);
/* oklch */ color: oklch(61.2% 0.217 308.7);
Tailwind
colors: {
  custom: {
    50: '#c788ed',
    500: '#a952e4',
    950: '#000000',
  },
}
SCSS
$custom: #a952e4;
$custom-light: #c788ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e4",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 275.753,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61159,
    "c": 0.21705,
    "h": 308.7
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#A952E4
secondary
#C4E5AD
accent
#D51060
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952E4

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

Preview Lab → · Contrast checker → · Palette generator →

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