#A951D6#A951D6

#A951D6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.204 H 312.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A951D6
RGBrgb(169, 81, 214)
HSLhsl(280, 62%, 58%)
HSVhsv(280, 62%, 84%)
CMYKcmyk(21%, 62.1%, 0%, 16.1%)
CIE-LABlab(50.89, 57.47, -53.63)
CIE-LCHlch(50.89, 78.60, 316.98°)
OKLaboklab(60.14% 0.1376 -0.1509)
OKLCHoklch(60.14% 0.204 312.4)
XYZxyz(31.4401, 19.1757, 65.6504)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951D6 #7ED651
analogous
#6651D6 #A951D6 #D651C1
triadic
#A951D6 #D6A951 #51D6A9
tetradic
#A951D6 #D66651 #7ED651 #51C1D6
square
#A951D6 #D66651 #7ED651 #51C1D6
split-complementary
#A951D6 #C1D651 #51D666
monochromatic
#68218C #8C2DBD #A951D6 #C183E2 #DAB4ED

Accessibility & contrast

On white

4.34
#A951D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A951D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951D6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951D6#FFFFFF#000000##000000
##A951D61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1875DA
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#A46A8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a951d6;
/* rgb */ color: rgb(169, 81, 214);
/* oklch */ color: oklch(60.1% 0.204 312.4);
Tailwind
colors: {
  custom: {
    50: '#c687e3',
    500: '#a951d6',
    950: '#000000',
  },
}
SCSS
$custom: #a951d6;
$custom-light: #c687e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a951d6",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 279.699,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.20416,
    "h": 312.4
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#A951D6
secondary
#B9DCA7
accent
#E5437A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A951D6

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

Preview Lab → · Contrast checker → · Palette generator →

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