#A951B3#A951B3

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

Color values

HEX#A951B3
RGBrgb(169, 81, 179)
HSLhsl(294, 39%, 51%)
HSVhsv(294, 55%, 70%)
CMYKcmyk(5.6%, 54.7%, 0%, 29.8%)
CIE-LABlab(48.98, 50.39, -36.49)
CIE-LCHlch(48.98, 62.21, 324.09°)
OKLaboklab(58.13% 0.1361 -0.1009)
OKLCHoklch(58.13% 0.169 323.4)
XYZxyz(27.4405, 17.5759, 44.5862)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951B3 #5BB351
analogous
#7851B3 #A951B3 #B3518C
triadic
#A951B3 #B3A951 #51B3A9
tetradic
#A951B3 #B37851 #5BB351 #518CB3
square
#A951B3 #B37851 #5BB351 #518CB3
split-complementary
#A951B3 #8CB351 #51B378
monochromatic
#5A2A60 #823C8A #A951B3 #BE7CC6 #D3A6D8

Accessibility & contrast

On white

4.65
#A951B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A951B3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951B3#FFFFFF#000000##FFFFFF
##A951B31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426EB6
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#AC5E7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a951b3;
/* rgb */ color: rgb(169, 81, 179);
/* oklch */ color: oklch(58.1% 0.169 323.4);
Tailwind
colors: {
  custom: {
    50: '#c586ca',
    500: '#a951b3',
    950: '#000000',
  },
}
SCSS
$custom: #a951b3;
$custom-light: #c586ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a951b3",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 293.878,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58129,
    "c": 0.16946,
    "h": 323.4
  },
  "luminance": 0.17575
}

Semantic roles & 50–950 ramp

primary
#A951B3
secondary
#9FC69A
accent
#CF5965
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A951B3

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

Preview Lab → · Contrast checker → · Palette generator →

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