#A951A2#A951A2

#A951A2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.154 H 330.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A951A2
RGBrgb(169, 81, 162)
HSLhsl(305, 35%, 49%)
HSVhsv(305, 52%, 66%)
CMYKcmyk(0%, 52.1%, 4.1%, 33.7%)
CIE-LABlab(48.17, 47.25, -27.76)
CIE-LCHlch(48.17, 54.80, 329.56°)
OKLaboklab(57.27% 0.1337 -0.0758)
OKLCHoklch(57.27% 0.154 330.4)
XYZxyz(25.8260, 16.9301, 36.0830)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951A2 #51A958
analogous
#8451A9 #A951A2 #A95176
triadic
#A951A2 #A2A951 #51A2A9
tetradic
#A951A2 #A98451 #51A958 #5176A9
square
#A951A2 #A98451 #51A958 #5176A9
split-complementary
#A951A2 #76A951 #51A984
monochromatic
#562953 #803D7A #A951A2 #BF79B9 #D2A2CF

Accessibility & contrast

On white

4.79
#A951A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A951A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A951A2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951A2#FFFFFF#000000##FFFFFF
##A951A21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA5
Deuteranopia (green-blind)
#66779F
Tritanopia (blue-blind)
#AF5972
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a951a2;
/* rgb */ color: rgb(169, 81, 162);
/* oklch */ color: oklch(57.3% 0.154 330.4);
Tailwind
colors: {
  custom: {
    50: '#c586be',
    500: '#a951a2',
    950: '#000000',
  },
}
SCSS
$custom: #a951a2;
$custom-light: #c586be;
$custom-dark: #000000;
JSON
{
  "hex": "#a951a2",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 304.773,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.15374,
    "h": 330.4
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#A951A2
secondary
#96C099
accent
#CB655D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A951A2

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

Preview Lab → · Contrast checker → · Palette generator →

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