#A951CC#A951CC

#A951CC is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.194 H 315.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A951CC
RGBrgb(169, 81, 204)
HSLhsl(283, 55%, 56%)
HSVhsv(283, 60%, 80%)
CMYKcmyk(17.2%, 60.3%, 0%, 20%)
CIE-LABlab(50.31, 55.37, -48.84)
CIE-LCHlch(50.31, 73.83, 318.58°)
OKLaboklab(59.54% 0.1376 -0.1368)
OKLCHoklch(59.54% 0.194 315.2)
XYZxyz(30.2020, 18.6805, 59.1298)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951CC #74CC51
analogous
#6B51CC #A951CC #CC51B1
triadic
#A951CC #CCA951 #51CCA9
tetradic
#A951CC #CC6B51 #74CC51 #51B1CC
square
#A951CC #CC6B51 #74CC51 #51B1CC
split-complementary
#A951CC #B1CC51 #51CC6B
monochromatic
#64257E #8A33AD #A951CC #C080DA #D8B0E8

Accessibility & contrast

On white

4.43
#A951CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A951CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951CC#FFFFFF#000000##000000
##A951CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#A66787
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a951cc;
/* rgb */ color: rgb(169, 81, 204);
/* oklch */ color: oklch(59.5% 0.194 315.2);
Tailwind
colors: {
  custom: {
    50: '#c687dc',
    500: '#a951cc',
    950: '#000000',
  },
}
SCSS
$custom: #a951cc;
$custom-light: #c687dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a951cc",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 282.927,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.19407,
    "h": 315.2
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#A951CC
secondary
#B1D6A3
accent
#DE4A74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A951CC

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

Preview Lab → · Contrast checker → · Palette generator →

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