#A951D7#A951D7

#A951D7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.205 H 312.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A951D7
RGBrgb(169, 81, 215)
HSLhsl(279, 63%, 58%)
HSVhsv(279, 62%, 84%)
CMYKcmyk(21.4%, 62.3%, 0%, 15.7%)
CIE-LABlab(50.95, 57.68, -54.10)
CIE-LCHlch(50.95, 79.08, 316.83°)
OKLaboklab(60.21% 0.1375 -0.1522)
OKLCHoklch(60.21% 0.205 312.1)
XYZxyz(31.5682, 19.2270, 66.3250)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951D7 #7FD751
analogous
#6651D7 #A951D7 #D751C2
triadic
#A951D7 #D7A951 #51D7A9
tetradic
#A951D7 #D76651 #7FD751 #51C2D7
square
#A951D7 #D76651 #7FD751 #51C2D7
split-complementary
#A951D7 #C2D751 #51D766
monochromatic
#68208D #8C2CBF #A951D7 #C283E2 #DAB5EE

Accessibility & contrast

On white

4.33
#A951D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A951D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951D7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951D7#FFFFFF#000000##000000
##A951D71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1675DB
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#A46B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a951d7;
/* rgb */ color: rgb(169, 81, 215);
/* oklch */ color: oklch(60.2% 0.205 312.1);
Tailwind
colors: {
  custom: {
    50: '#c687e4',
    500: '#a951d7',
    950: '#000000',
  },
}
SCSS
$custom: #a951d7;
$custom-light: #c687e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a951d7",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 279.403,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.20517,
    "h": 312.1
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#A951D7
secondary
#BADDA7
accent
#E6427A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951D7

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

Preview Lab → · Contrast checker → · Palette generator →

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