#A951DC#A951DC

#A951DC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.210 H 310.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A951DC
RGBrgb(169, 81, 220)
HSLhsl(278, 67%, 59%)
HSVhsv(278, 63%, 86%)
CMYKcmyk(23.2%, 63.2%, 0%, 13.7%)
CIE-LABlab(51.25, 58.75, -56.46)
CIE-LCHlch(51.25, 81.48, 316.14°)
OKLaboklab(60.52% 0.1374 -0.1592)
OKLCHoklch(60.52% 0.21 310.8)
XYZxyz(32.2205, 19.4879, 69.7605)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951DC #84DC51
analogous
#6451DC #A951DC #DC51C9
triadic
#A951DC #DCA951 #51DCA9
tetradic
#A951DC #DC6451 #84DC51 #51C9DC
square
#A951DC #DC6451 #84DC51 #51C9DC
split-complementary
#A951DC #C9DC51 #51DC64
monochromatic
#691E95 #8D28C8 #A951DC #C284E6 #DBB7F0

Accessibility & contrast

On white

4.29
#A951DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A951DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951DC#FFFFFF#000000##000000
##A951DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#A36C8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a951dc;
/* rgb */ color: rgb(169, 81, 220);
/* oklch */ color: oklch(60.5% 0.210 310.8);
Tailwind
colors: {
  custom: {
    50: '#c687e8',
    500: '#a951dc',
    950: '#000000',
  },
}
SCSS
$custom: #a951dc;
$custom-light: #c687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a951dc",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 277.986,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60521,
    "c": 0.21024,
    "h": 310.8
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#A951DC
secondary
#BDE0A9
accent
#E93E7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951DC

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

Preview Lab → · Contrast checker → · Palette generator →

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