#A951C2#A951C2

#A951C2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.184 H 318.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A951C2
RGBrgb(169, 81, 194)
HSLhsl(287, 48%, 54%)
HSVhsv(287, 58%, 76%)
CMYKcmyk(12.9%, 58.2%, 0%, 23.9%)
CIE-LABlab(49.76, 53.33, -43.97)
CIE-LCHlch(49.76, 69.12, 320.50°)
OKLaboklab(58.95% 0.1373 -0.1226)
OKLCHoklch(58.95% 0.184 318.2)
XYZxyz(29.0409, 18.2161, 53.0148)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951C2 #6AC251
analogous
#7151C2 #A951C2 #C251A3
triadic
#A951C2 #C2A951 #51C2A9
tetradic
#A951C2 #C27151 #6AC251 #51A3C2
square
#A951C2 #C27151 #6AC251 #51A3C2
split-complementary
#A951C2 #A3C251 #51C271
monochromatic
#612871 #88379E #A951C2 #BF7ED2 #D6ACE2

Accessibility & contrast

On white

4.52
#A951C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A951C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951C2#FFFFFF#000000##000000
##A951C21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3671C6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#A96382
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a951c2;
/* rgb */ color: rgb(169, 81, 194);
/* oklch */ color: oklch(59.0% 0.184 318.2);
Tailwind
colors: {
  custom: {
    50: '#c586d5',
    500: '#a951c2',
    950: '#000000',
  },
}
SCSS
$custom: #a951c2;
$custom-light: #c586d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a951c2",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 286.726,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.18408,
    "h": 318.2
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#A951C2
secondary
#AAD09F
accent
#D8506E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A951C2

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

Preview Lab → · Contrast checker → · Palette generator →

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