#A951BC#A951BC

#A951BC is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.6% C 0.178 H 320.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A951BC
RGBrgb(169, 81, 188)
HSLhsl(289, 44%, 53%)
HSVhsv(289, 57%, 74%)
CMYKcmyk(10.1%, 56.9%, 0%, 26.3%)
CIE-LABlab(49.44, 52.13, -41.00)
CIE-LCHlch(49.44, 66.32, 321.82°)
OKLaboklab(58.62% 0.1369 -0.114)
OKLCHoklch(58.62% 0.178 320.2)
XYZxyz(28.3806, 17.9520, 49.5373)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951BC #64BC51
analogous
#7451BC #A951BC #BC5199
triadic
#A951BC #BCA951 #51BCA9
tetradic
#A951BC #BC7451 #64BC51 #5199BC
square
#A951BC #BC7451 #64BC51 #5199BC
split-complementary
#A951BC #99BC51 #51BC74
monochromatic
#5E296A #863A96 #A951BC #BF7DCD #D5A9DE

Accessibility & contrast

On white

4.57
#A951BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A951BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951BC#FFFFFF#000000##000000
##A951BC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#AA617F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a951bc;
/* rgb */ color: rgb(169, 81, 188);
/* oklch */ color: oklch(58.6% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#c586d0',
    500: '#a951bc',
    950: '#000000',
  },
}
SCSS
$custom: #a951bc;
$custom-light: #c586d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a951bc",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 289.346,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58616,
    "c": 0.17817,
    "h": 320.2
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#A951BC
secondary
#A5CC9D
accent
#D4546A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A951BC

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

Preview Lab → · Contrast checker → · Palette generator →

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