#A931B8#A931B8

#A931B8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.217 H 323.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A931B8
RGBrgb(169, 49, 184)
HSLhsl(293, 58%, 46%)
HSVhsv(293, 73%, 72%)
CMYKcmyk(8.2%, 73.4%, 0%, 27.8%)
CIE-LABlab(44.37, 64.83, -46.73)
CIE-LCHlch(44.37, 79.92, 324.22°)
OKLaboklab(54.88% 0.1733 -0.1305)
OKLCHoklch(54.88% 0.217 323)
XYZxyz(26.1114, 14.0939, 46.6832)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A931B8 #40B831
analogous
#6531B8 #A931B8 #B83183
triadic
#A931B8 #B8A931 #31B8A9
tetradic
#A931B8 #B86531 #40B831 #3183B8
square
#A931B8 #B86531 #40B831 #3183B8
split-complementary
#A931B8 #83B831 #31B865
monochromatic
#501757 #7D2488 #A931B8 #C455D2 #D585DE

Accessibility & contrast

On white

5.50
#A931B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A931B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A931B8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A931B8#FFFFFF#000000##FFFFFF
##A931B81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#476EB5
Tritanopia (blue-blind)
#AC4A72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a931b8;
/* rgb */ color: rgb(169, 49, 184);
/* oklch */ color: oklch(54.9% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#c675ce',
    500: '#a931b8',
    950: '#000000',
  },
}
SCSS
$custom: #a931b8;
$custom-light: #c675ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a931b8",
  "rgb": {
    "r": 169,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 293.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.21691,
    "h": 323
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#A931B8
secondary
#85C87D
accent
#E14758
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A931B8

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

Preview Lab → · Contrast checker → · Palette generator →

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