#A831AB#A831AB

#A831AB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.206 H 326.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A831AB
RGBrgb(168, 49, 171)
HSLhsl(299, 55%, 43%)
HSVhsv(299, 71%, 67%)
CMYKcmyk(1.8%, 71.3%, 0%, 32.9%)
CIE-LABlab(43.45, 62.36, -40.52)
CIE-LCHlch(43.45, 74.37, 326.99°)
OKLaboklab(53.95% 0.1726 -0.1124)
OKLCHoklch(53.95% 0.206 326.9)
XYZxyz(24.5970, 13.4634, 39.8233)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831AB #34AB31
analogous
#6B31AB #A831AB #AB3171
triadic
#A831AB #ABA831 #31ABA8
tetradic
#A831AB #AB6B31 #34AB31 #3171AB
square
#A831AB #AB6B31 #34AB31 #3171AB
split-complementary
#A831AB #71AB31 #31AB6B
monochromatic
#4B164C #79237B #A831AB #C94DCC #D77DDA

Accessibility & contrast

On white

5.69
#A831AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A831AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831AB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831AB#FFFFFF#000000##FFFFFF
##A831AB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAE
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#AD446B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a831ab;
/* rgb */ color: rgb(168, 49, 171);
/* oklch */ color: oklch(54.0% 0.206 326.9);
Tailwind
colors: {
  custom: {
    50: '#c575c4',
    500: '#a831ab',
    950: '#000000',
  },
}
SCSS
$custom: #a831ab;
$custom-light: #c575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a831ab",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 298.525,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.20594,
    "h": 326.9
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#A831AB
secondary
#77C275
accent
#DF494D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A831AB

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

Preview Lab → · Contrast checker → · Palette generator →

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