#A951B2#A951B2

#A951B2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.169 H 323.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A951B2
RGBrgb(169, 81, 178)
HSLhsl(294, 39%, 51%)
HSVhsv(294, 54%, 70%)
CMYKcmyk(5.1%, 54.5%, 0%, 30.2%)
CIE-LABlab(48.93, 50.20, -35.98)
CIE-LCHlch(48.93, 61.76, 324.37°)
OKLaboklab(58.08% 0.136 -0.0995)
OKLCHoklch(58.08% 0.169 323.8)
XYZxyz(27.3398, 17.5356, 44.0555)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951B2 #5AB251
analogous
#7851B2 #A951B2 #B2518A
triadic
#A951B2 #B2A951 #51B2A9
tetradic
#A951B2 #B27851 #5AB251 #518AB2
square
#A951B2 #B27851 #5AB251 #518AB2
split-complementary
#A951B2 #8AB251 #51B278
monochromatic
#5A2A5F #823D89 #A951B2 #BE7BC5 #D3A6D8

Accessibility & contrast

On white

4.66
#A951B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A951B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A951B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951B2#FFFFFF#000000##FFFFFF
##A951B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#AC5E7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a951b2;
/* rgb */ color: rgb(169, 81, 178);
/* oklch */ color: oklch(58.1% 0.169 323.8);
Tailwind
colors: {
  custom: {
    50: '#c586c9',
    500: '#a951b2',
    950: '#000000',
  },
}
SCSS
$custom: #a951b2;
$custom-light: #c586c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a951b2",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 294.433,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.1685,
    "h": 323.8
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#A951B2
secondary
#9EC59A
accent
#CF5964
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A951B2

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

Preview Lab → · Contrast checker → · Palette generator →

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