#A951D0#A951D0

#A951D0 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.198 H 314.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A951D0
RGBrgb(169, 81, 208)
HSLhsl(282, 57%, 57%)
HSVhsv(282, 61%, 82%)
CMYKcmyk(18.8%, 61.1%, 0%, 18.4%)
CIE-LABlab(50.54, 56.20, -50.77)
CIE-LCHlch(50.54, 75.74, 317.91°)
OKLaboklab(59.78% 0.1376 -0.1425)
OKLCHoklch(59.78% 0.198 314)
XYZxyz(30.6879, 18.8749, 61.6889)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951D0 #78D051
analogous
#6A51D0 #A951D0 #D051B8
triadic
#A951D0 #D0A951 #51D0A9
tetradic
#A951D0 #D06A51 #78D051 #51B8D0
square
#A951D0 #D06A51 #78D051 #51B8D0
split-complementary
#A951D0 #B8D051 #51D06A
monochromatic
#662383 #8B30B3 #A951D0 #C181DD #D9B1EA

Accessibility & contrast

On white

4.40
#A951D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A951D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951D0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951D0#FFFFFF#000000##000000
##A951D01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2473D4
Deuteranopia (green-blind)
#4C7BCD
Tritanopia (blue-blind)
#A66889
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a951d0;
/* rgb */ color: rgb(169, 81, 208);
/* oklch */ color: oklch(59.8% 0.198 314.0);
Tailwind
colors: {
  custom: {
    50: '#c687df',
    500: '#a951d0',
    950: '#000000',
  },
}
SCSS
$custom: #a951d0;
$custom-light: #c687df;
$custom-dark: #000000;
JSON
{
  "hex": "#a951d0",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 281.575,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.1981,
    "h": 314
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#A951D0
secondary
#B4D8A4
accent
#E14776
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A951D0

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

Preview Lab → · Contrast checker → · Palette generator →

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