#A951D2#A951D2

#A951D2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 59.9% C 0.200 H 313.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A951D2
RGBrgb(169, 81, 210)
HSLhsl(281, 59%, 57%)
HSVhsv(281, 61%, 82%)
CMYKcmyk(19.5%, 61.4%, 0%, 17.6%)
CIE-LABlab(50.66, 56.62, -51.73)
CIE-LCHlch(50.66, 76.69, 317.59°)
OKLaboklab(59.9% 0.1376 -0.1453)
OKLCHoklch(59.9% 0.2 313.4)
XYZxyz(30.9355, 18.9739, 62.9930)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951D2 #7AD251
analogous
#6951D2 #A951D2 #D251BB
triadic
#A951D2 #D2A951 #51D2A9
tetradic
#A951D2 #D26951 #7AD251 #51BBD2
square
#A951D2 #D26951 #7AD251 #51BBD2
split-complementary
#A951D2 #BBD251 #51D269
monochromatic
#662386 #8C2FB7 #A951D2 #C182DF #D9B2EB

Accessibility & contrast

On white

4.38
#A951D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A951D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951D2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951D2#FFFFFF#000000##000000
##A951D21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2174D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#A5698A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a951d2;
/* rgb */ color: rgb(169, 81, 210);
/* oklch */ color: oklch(59.9% 0.200 313.4);
Tailwind
colors: {
  custom: {
    50: '#c687e0',
    500: '#a951d2',
    950: '#000000',
  },
}
SCSS
$custom: #a951d2;
$custom-light: #c687e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a951d2",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 280.93,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.20012,
    "h": 313.4
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#A951D2
secondary
#B6DAA5
accent
#E24677
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A951D2

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

Preview Lab → · Contrast checker → · Palette generator →

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