#A951DF#A951DF

#A951DF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.213 H 310.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A951DF
RGBrgb(169, 81, 223)
HSLhsl(277, 69%, 60%)
HSVhsv(277, 64%, 87%)
CMYKcmyk(24.2%, 63.7%, 0%, 12.5%)
CIE-LABlab(51.44, 59.40, -57.87)
CIE-LCHlch(51.44, 82.92, 315.75°)
OKLaboklab(60.71% 0.1372 -0.1633)
OKLCHoklch(60.71% 0.213 310)
XYZxyz(32.6213, 19.6482, 71.8718)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951DF #87DF51
analogous
#6251DF #A951DF #DF51CE
triadic
#A951DF #DFA951 #51DFA9
tetradic
#A951DF #DF6251 #87DF51 #51CEDF
square
#A951DF #DF6251 #87DF51 #51CEDF
split-complementary
#A951DF #CEDF51 #51DF62
monochromatic
#6A1C99 #8D26CD #A951DF #C385E9 #DCB8F2

Accessibility & contrast

On white

4.26
#A951DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A951DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951DF#FFFFFF#000000##000000
##A951DF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#A26D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a951df;
/* rgb */ color: rgb(169, 81, 223);
/* oklch */ color: oklch(60.7% 0.213 310.0);
Tailwind
colors: {
  custom: {
    50: '#c687ea',
    500: '#a951df',
    950: '#000000',
  },
}
SCSS
$custom: #a951df;
$custom-light: #c687ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a951df",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 277.183,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.2133,
    "h": 310
  },
  "luminance": 0.19648
}

Semantic roles & 50–950 ramp

primary
#A951DF
secondary
#BFE1AA
accent
#EC3C7F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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