#A952DF#A952DF

#A952DF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.212 H 309.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A952DF
RGBrgb(169, 82, 223)
HSLhsl(277, 69%, 60%)
HSVhsv(277, 63%, 87%)
CMYKcmyk(24.2%, 63.2%, 0%, 12.5%)
CIE-LABlab(51.61, 58.93, -57.59)
CIE-LCHlch(51.61, 82.40, 315.66°)
OKLaboklab(60.84% 0.1361 -0.1625)
OKLCHoklch(60.84% 0.212 309.9)
XYZxyz(32.6962, 19.7980, 71.8967)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952DF #88DF52
analogous
#6352DF #A952DF #DF52CF
triadic
#A952DF #DFA952 #52DFA9
tetradic
#A952DF #DF6352 #88DF52 #52CFDF
square
#A952DF #DF6352 #88DF52 #52CFDF
split-complementary
#A952DF #CFDF52 #52DF63
monochromatic
#6A1D9A #8E26CE #A952DF #C386E9 #DCB9F2

Accessibility & contrast

On white

4.23
#A952DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A952DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952DF#FFFFFF#000000##000000
##A952DF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#A26E91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a952df;
/* rgb */ color: rgb(169, 82, 223);
/* oklch */ color: oklch(60.8% 0.212 309.9);
Tailwind
colors: {
  custom: {
    50: '#c688ea',
    500: '#a952df',
    950: '#000000',
  },
}
SCSS
$custom: #a952df;
$custom-light: #c688ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a952df",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 277.021,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.21195,
    "h": 309.9
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#A952DF
secondary
#C0E2AB
accent
#EC3C7F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A952DF

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

Preview Lab → · Contrast checker → · Palette generator →

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