#A951A5#A951A5

#A951A5 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.156 H 329.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A951A5
RGBrgb(169, 81, 165)
HSLhsl(303, 35%, 49%)
HSVhsv(303, 52%, 66%)
CMYKcmyk(0%, 52.1%, 2.4%, 33.7%)
CIE-LABlab(48.31, 47.78, -29.32)
CIE-LCHlch(48.31, 56.06, 328.47°)
OKLaboklab(57.42% 0.1342 -0.0803)
OKLCHoklch(57.42% 0.156 329.1)
XYZxyz(26.0958, 17.0380, 37.5042)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951A5 #51A955
analogous
#8151A9 #A951A5 #A95179
triadic
#A951A5 #A5A951 #51A5A9
tetradic
#A951A5 #A98151 #51A955 #5179A9
square
#A951A5 #A98151 #51A955 #5179A9
split-complementary
#A951A5 #79A951 #51A981
monochromatic
#562954 #803D7D #A951A5 #BF79BB #D2A2D0

Accessibility & contrast

On white

4.76
#A951A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A951A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A951A5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951A5#FFFFFF#000000##FFFFFF
##A951A51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#AE5974
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a951a5;
/* rgb */ color: rgb(169, 81, 165);
/* oklch */ color: oklch(57.4% 0.156 329.1);
Tailwind
colors: {
  custom: {
    50: '#c586c0',
    500: '#a951a5',
    950: '#000000',
  },
}
SCSS
$custom: #a951a5;
$custom-light: #c586c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a951a5",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 302.727,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.15643,
    "h": 329.1
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#A951A5
secondary
#96C098
accent
#CB625D
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A951A5

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

Preview Lab → · Contrast checker → · Palette generator →

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