#A951D9#A951D9

#A951D9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.207 H 311.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A951D9
RGBrgb(169, 81, 217)
HSLhsl(279, 64%, 58%)
HSVhsv(279, 63%, 85%)
CMYKcmyk(22.1%, 62.7%, 0%, 14.9%)
CIE-LABlab(51.07, 58.10, -55.05)
CIE-LCHlch(51.07, 80.04, 316.55°)
OKLaboklab(60.33% 0.1375 -0.155)
OKLCHoklch(60.33% 0.207 311.6)
XYZxyz(31.8267, 19.3304, 67.6867)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951D9 #81D951
analogous
#6551D9 #A951D9 #D951C5
triadic
#A951D9 #D9A951 #51D9A9
tetradic
#A951D9 #D96551 #81D951 #51C5D9
square
#A951D9 #D96551 #81D951 #51C5D9
split-complementary
#A951D9 #C5D951 #51D965
monochromatic
#681F90 #8D2AC2 #A951D9 #C283E4 #DBB5EF

Accessibility & contrast

On white

4.32
#A951D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A951D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951D9#FFFFFF#000000##000000
##A951D91.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DD
Deuteranopia (green-blind)
#447BD6
Tritanopia (blue-blind)
#A36B8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a951d9;
/* rgb */ color: rgb(169, 81, 217);
/* oklch */ color: oklch(60.3% 0.207 311.6);
Tailwind
colors: {
  custom: {
    50: '#c687e5',
    500: '#a951d9',
    950: '#000000',
  },
}
SCSS
$custom: #a951d9;
$custom-light: #c687e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a951d9",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 278.824,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.2072,
    "h": 311.6
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#A951D9
secondary
#BBDEA8
accent
#E7417B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951D9

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

Preview Lab → · Contrast checker → · Palette generator →

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