#A951CB#A951CB

#A951CB is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.193 H 315.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A951CB
RGBrgb(169, 81, 203)
HSLhsl(283, 54%, 56%)
HSVhsv(283, 60%, 80%)
CMYKcmyk(16.7%, 60.1%, 0%, 20.4%)
CIE-LABlab(50.25, 55.16, -48.36)
CIE-LCHlch(50.25, 73.36, 318.76°)
OKLaboklab(59.48% 0.1376 -0.1354)
OKLCHoklch(59.48% 0.193 315.5)
XYZxyz(30.0824, 18.6327, 58.5002)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951CB #73CB51
analogous
#6C51CB #A951CB #CB51B0
triadic
#A951CB #CBA951 #51CBA9
tetradic
#A951CB #CB6C51 #73CB51 #51B0CB
square
#A951CB #CB6C51 #73CB51 #51B0CB
split-complementary
#A951CB #B0CB51 #51CB6C
monochromatic
#64257C #8A33AC #A951CB #C080D9 #D8AFE7

Accessibility & contrast

On white

4.44
#A951CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A951CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951CB#FFFFFF#000000##000000
##A951CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#A76686
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a951cb;
/* rgb */ color: rgb(169, 81, 203);
/* oklch */ color: oklch(59.5% 0.193 315.5);
Tailwind
colors: {
  custom: {
    50: '#c687db',
    500: '#a951cb',
    950: '#000000',
  },
}
SCSS
$custom: #a951cb;
$custom-light: #c687db;
$custom-dark: #000000;
JSON
{
  "hex": "#a951cb",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 283.279,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.19307,
    "h": 315.5
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#A951CB
secondary
#B1D5A3
accent
#DD4A73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A951CB

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

Preview Lab → · Contrast checker → · Palette generator →

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