#A931D4#A931D4

#A931D4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.240 H 315.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A931D4
RGBrgb(169, 49, 212)
HSLhsl(284, 65%, 51%)
HSVhsv(284, 77%, 83%)
CMYKcmyk(20.3%, 76.9%, 0%, 16.9%)
CIE-LABlab(46.16, 70.00, -60.10)
CIE-LCHlch(46.16, 92.26, 319.35°)
OKLaboklab(56.72% 0.1702 -0.1696)
OKLCHoklch(56.72% 0.24 315.1)
XYZxyz(29.3422, 15.3862, 63.6988)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A931D4 #5CD431
analogous
#5731D4 #A931D4 #D431AD
triadic
#A931D4 #D4A931 #31D4A9
tetradic
#A931D4 #D45731 #5CD431 #31ADD4
square
#A931D4 #D45731 #5CD431 #31ADD4
split-complementary
#A931D4 #ADD431 #31D457
monochromatic
#5B1873 #8323A5 #A931D4 #BE64DF #D396E9

Accessibility & contrast

On white

5.15
#A931D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A931D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A931D4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A931D4#FFFFFF#000000##FFFFFF
##A931D41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#2970D1
Tritanopia (blue-blind)
#A55782
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a931d4;
/* rgb */ color: rgb(169, 49, 212);
/* oklch */ color: oklch(56.7% 0.240 315.1);
Tailwind
colors: {
  custom: {
    50: '#c777e2',
    500: '#a931d4',
    950: '#000000',
  },
}
SCSS
$custom: #a931d4;
$custom-light: #c777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a931d4",
  "rgb": {
    "r": 169,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 284.172,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.24029,
    "h": 315.1
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#A931D4
secondary
#9FD48C
accent
#E83F6C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A931D4

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

Preview Lab → · Contrast checker → · Palette generator →

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