#A931CF#A931CF

#A931CF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.236 H 316.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A931CF
RGBrgb(169, 49, 207)
HSLhsl(286, 62%, 50%)
HSVhsv(286, 76%, 81%)
CMYKcmyk(18.4%, 76.3%, 0%, 18.8%)
CIE-LABlab(45.82, 69.05, -57.77)
CIE-LCHlch(45.82, 90.03, 320.08°)
OKLaboklab(56.38% 0.1709 -0.1628)
OKLCHoklch(56.38% 0.236 316.4)
XYZxyz(28.7212, 15.1378, 60.4284)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A931CF #57CF31
analogous
#5A31CF #A931CF #CF31A6
triadic
#A931CF #CFA931 #31CFA9
tetradic
#A931CF #CF5A31 #57CF31 #31A6CF
square
#A931CF #CF5A31 #57CF31 #31A6CF
split-complementary
#A931CF #A6CF31 #31CF5A
monochromatic
#58196C #81259E #A931CF #BE63DB #D294E6

Accessibility & contrast

On white

5.21
#A931CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A931CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A931CF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A931CF#FFFFFF#000000##FFFFFF
##A931CF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#3070CC
Tritanopia (blue-blind)
#A7547F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a931cf;
/* rgb */ color: rgb(169, 49, 207);
/* oklch */ color: oklch(56.4% 0.236 316.4);
Tailwind
colors: {
  custom: {
    50: '#c776de',
    500: '#a931cf',
    950: '#000000',
  },
}
SCSS
$custom: #a931cf;
$custom-light: #c776de;
$custom-dark: #000000;
JSON
{
  "hex": "#a931cf",
  "rgb": {
    "r": 169,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 285.57,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.23606,
    "h": 316.4
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#A931CF
secondary
#9CD18B
accent
#E5436A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A931CF

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

Preview Lab → · Contrast checker → · Palette generator →

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