#A951C4#A951C4

#A951C4 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.186 H 317.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A951C4
RGBrgb(169, 81, 196)
HSLhsl(286, 49%, 54%)
HSVhsv(286, 59%, 77%)
CMYKcmyk(13.8%, 58.7%, 0%, 23.1%)
CIE-LABlab(49.87, 53.73, -44.95)
CIE-LCHlch(49.87, 70.05, 320.09°)
OKLaboklab(59.07% 0.1374 -0.1255)
OKLCHoklch(59.07% 0.186 317.6)
XYZxyz(29.2670, 18.3065, 54.2057)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951C4 #6CC451
analogous
#7051C4 #A951C4 #C451A6
triadic
#A951C4 #C4A951 #51C4A9
tetradic
#A951C4 #C47051 #6CC451 #51A6C4
square
#A951C4 #C47051 #6CC451 #51A6C4
split-complementary
#A951C4 #A6C451 #51C470
monochromatic
#622773 #8837A1 #A951C4 #C07FD3 #D6ACE3

Accessibility & contrast

On white

4.51
#A951C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A951C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951C4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951C4#FFFFFF#000000##000000
##A951C41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3471C8
Deuteranopia (green-blind)
#5579C1
Tritanopia (blue-blind)
#A86483
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a951c4;
/* rgb */ color: rgb(169, 81, 196);
/* oklch */ color: oklch(59.1% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#c586d6',
    500: '#a951c4',
    950: '#000000',
  },
}
SCSS
$custom: #a951c4;
$custom-light: #c586d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a951c4",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 285.913,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.18607,
    "h": 317.6
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

primary
#A951C4
secondary
#ABD1A0
accent
#D94F6F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A951C4

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

Preview Lab → · Contrast checker → · Palette generator →

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