#A951C8#A951C8

#A951C8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.190 H 316.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A951C8
RGBrgb(169, 81, 200)
HSLhsl(284, 52%, 55%)
HSVhsv(284, 60%, 78%)
CMYKcmyk(15.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(50.09, 54.55, -46.90)
CIE-LCHlch(50.09, 71.94, 319.31°)
OKLaboklab(59.3% 0.1375 -0.1312)
OKLCHoklch(59.3% 0.19 316.3)
XYZxyz(29.7284, 18.4911, 56.6355)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951C8 #70C851
analogous
#6E51C8 #A951C8 #C851AB
triadic
#A951C8 #C8A951 #51C8A9
tetradic
#A951C8 #C86E51 #70C851 #51ABC8
square
#A951C8 #C86E51 #70C851 #51ABC8
split-complementary
#A951C8 #ABC851 #51C86E
monochromatic
#632679 #8935A7 #A951C8 #C080D7 #D7AEE5

Accessibility & contrast

On white

4.47
#A951C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A951C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951C8#FFFFFF#000000##000000
##A951C81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#A76585
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a951c8;
/* rgb */ color: rgb(169, 81, 200);
/* oklch */ color: oklch(59.3% 0.190 316.3);
Tailwind
colors: {
  custom: {
    50: '#c586d9',
    500: '#a951c8',
    950: '#000000',
  },
}
SCSS
$custom: #a951c8;
$custom-light: #c586d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a951c8",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 284.37,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.593,
    "c": 0.19006,
    "h": 316.3
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#A951C8
secondary
#AED3A1
accent
#DB4C72
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A951C8

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

Preview Lab → · Contrast checker → · Palette generator →

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