#A952E7#A952E7

#A952E7 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.220 H 308.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A952E7
RGBrgb(169, 82, 231)
HSLhsl(275, 76%, 61%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(26.8%, 64.5%, 0%, 9.4%)
CIE-LABlab(52.11, 60.67, -61.31)
CIE-LCHlch(52.11, 86.26, 314.70°)
OKLaboklab(61.36% 0.1356 -0.1734)
OKLCHoklch(61.36% 0.22 308)
XYZxyz(33.8003, 20.2396, 77.7118)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952E7 #90E752
analogous
#5F52E7 #A952E7 #E752DA
triadic
#A952E7 #E7A952 #52E7A9
tetradic
#A952E7 #E75F52 #90E752 #52DAE7
square
#A952E7 #E75F52 #90E752 #52DAE7
split-complementary
#A952E7 #DAE752 #52E75F
monochromatic
#6B17A7 #8E1FDD #A952E7 #C488EE #DEBDF6

Accessibility & contrast

On white

4.16
#A952E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A952E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952E7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952E7#FFFFFF#000000##000000
##A952E71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#357DE4
Tritanopia (blue-blind)
#9F7196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a952e7;
/* rgb */ color: rgb(169, 82, 231);
/* oklch */ color: oklch(61.4% 0.220 308.0);
Tailwind
colors: {
  custom: {
    50: '#c788ef',
    500: '#a952e7',
    950: '#000000',
  },
}
SCSS
$custom: #a952e7;
$custom-light: #c788ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a952e7",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 275.034,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.22013,
    "h": 308
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#A952E7
secondary
#C6E6AF
accent
#D80E62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A952E7

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

Preview Lab → · Contrast checker → · Palette generator →

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