#A831AE#A831AE

#A831AE is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.208 H 325.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A831AE
RGBrgb(168, 49, 174)
HSLhsl(297, 56%, 44%)
HSVhsv(297, 72%, 68%)
CMYKcmyk(3.4%, 71.8%, 0%, 31.8%)
CIE-LABlab(43.62, 62.88, -42.03)
CIE-LCHlch(43.62, 75.63, 326.24°)
OKLaboklab(54.13% 0.1725 -0.1168)
OKLCHoklch(54.13% 0.208 325.9)
XYZxyz(24.8862, 13.5791, 41.3464)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831AE #37AE31
analogous
#6931AE #A831AE #AE3175
triadic
#A831AE #AEA831 #31AEA8
tetradic
#A831AE #AE6931 #37AE31 #3175AE
square
#A831AE #AE6931 #37AE31 #3175AE
split-complementary
#A831AE #75AE31 #31AE69
monochromatic
#4C164E #7A247E #A831AE #C74FCD #D67FDB

Accessibility & contrast

On white

5.65
#A831AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A831AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831AE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831AE#FFFFFF#000000##FFFFFF
##A831AE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB1
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#AC456D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a831ae;
/* rgb */ color: rgb(168, 49, 174);
/* oklch */ color: oklch(54.1% 0.208 325.9);
Tailwind
colors: {
  custom: {
    50: '#c575c7',
    500: '#a831ae',
    950: '#000000',
  },
}
SCSS
$custom: #a831ae;
$custom-light: #c575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a831ae",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 297.12,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.20833,
    "h": 325.9
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#A831AE
secondary
#7BC477
accent
#DF4850
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A831AE

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

Preview Lab → · Contrast checker → · Palette generator →

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