#A952D2#A952D2

#A952D2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.199 H 313.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A952D2
RGBrgb(169, 82, 210)
HSLhsl(281, 59%, 57%)
HSVhsv(281, 61%, 82%)
CMYKcmyk(19.5%, 61%, 0%, 17.6%)
CIE-LABlab(50.83, 56.15, -51.45)
CIE-LCHlch(50.83, 76.15, 317.50°)
OKLaboklab(60.02% 0.1364 -0.1445)
OKLCHoklch(60.02% 0.199 313.4)
XYZxyz(31.0103, 19.1236, 63.0179)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952D2 #7BD252
analogous
#6952D2 #A952D2 #D252BB
triadic
#A952D2 #D2A952 #52D2A9
tetradic
#A952D2 #D26952 #7BD252 #52BBD2
square
#A952D2 #D26952 #7BD252 #52BBD2
split-complementary
#A952D2 #BBD252 #52D269
monochromatic
#672387 #8C30B7 #A952D2 #C183DF #D9B3EB

Accessibility & contrast

On white

4.35
#A952D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A952D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952D2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952D2#FFFFFF#000000##000000
##A952D21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#A5698A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a952d2;
/* rgb */ color: rgb(169, 82, 210);
/* oklch */ color: oklch(60.0% 0.199 313.4);
Tailwind
colors: {
  custom: {
    50: '#c687e0',
    500: '#a952d2',
    950: '#000000',
  },
}
SCSS
$custom: #a952d2;
$custom-light: #c687e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a952d2",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 280.781,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.19869,
    "h": 313.4
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#A952D2
secondary
#B7DAA6
accent
#E24678
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A952D2

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

Preview Lab → · Contrast checker → · Palette generator →

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