#A831AA#A831AA

#A831AA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.205 H 327.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A831AA
RGBrgb(168, 49, 170)
HSLhsl(299, 55%, 43%)
HSVhsv(299, 71%, 67%)
CMYKcmyk(1.2%, 71.2%, 0%, 33.3%)
CIE-LABlab(43.40, 62.20, -40.02)
CIE-LCHlch(43.40, 73.96, 327.24°)
OKLaboklab(53.9% 0.1726 -0.1109)
OKLCHoklch(53.9% 0.205 327.3)
XYZxyz(24.5021, 13.4254, 39.3233)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831AA #33AA31
analogous
#6B31AA #A831AA #AA3170
triadic
#A831AA #AAA831 #31AAA8
tetradic
#A831AA #AA6B31 #33AA31 #3170AA
square
#A831AA #AA6B31 #33AA31 #3170AA
split-complementary
#A831AA #70AA31 #31AA6B
monochromatic
#4A164B #79237A #A831AA #C94DCC #D87CD9

Accessibility & contrast

On white

5.70
#A831AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A831AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831AA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831AA#FFFFFF#000000##FFFFFF
##A831AA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#AD446A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a831aa;
/* rgb */ color: rgb(168, 49, 170);
/* oklch */ color: oklch(53.9% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#c575c4',
    500: '#a831aa',
    950: '#000000',
  },
}
SCSS
$custom: #a831aa;
$custom-light: #c575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a831aa",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 299.008,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.20514,
    "h": 327.3
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#A831AA
secondary
#76C275
accent
#DF494C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A831AA

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

Preview Lab → · Contrast checker → · Palette generator →

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