#A951AF#A951AF

#A951AF is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.166 H 325.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A951AF
RGBrgb(169, 81, 175)
HSLhsl(296, 37%, 50%)
HSVhsv(296, 54%, 69%)
CMYKcmyk(3.4%, 53.7%, 0%, 31.4%)
CIE-LABlab(48.78, 49.63, -34.46)
CIE-LCHlch(48.78, 60.42, 325.23°)
OKLaboklab(57.92% 0.1357 -0.0951)
OKLCHoklch(57.92% 0.166 325)
XYZxyz(27.0418, 17.4164, 42.4865)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951AF #57AF51
analogous
#7A51AF #A951AF #AF5186
triadic
#A951AF #AFA951 #51AFA9
tetradic
#A951AF #AF7A51 #57AF51 #5186AF
square
#A951AF #AF7A51 #57AF51 #5186AF
split-complementary
#A951AF #86AF51 #51AF7A
monochromatic
#582A5C #813D85 #A951AF #BE7BC2 #D2A5D6

Accessibility & contrast

On white

4.68
#A951AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A951AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A951AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951AF#FFFFFF#000000##FFFFFF
##A951AF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#AC5D78
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a951af;
/* rgb */ color: rgb(169, 81, 175);
/* oklch */ color: oklch(57.9% 0.166 325.0);
Tailwind
colors: {
  custom: {
    50: '#c586c7',
    500: '#a951af',
    950: '#000000',
  },
}
SCSS
$custom: #a951af;
$custom-light: #c586c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a951af",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 296.17,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.16566,
    "h": 325
  },
  "luminance": 0.17415
}

Semantic roles & 50–950 ramp

primary
#A951AF
secondary
#9CC399
accent
#CD5B62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A951AF

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

Preview Lab → · Contrast checker → · Palette generator →

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