#A831AC#A831AC

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

Color values

HEX#A831AC
RGBrgb(168, 49, 172)
HSLhsl(298, 56%, 43%)
HSVhsv(298, 72%, 67%)
CMYKcmyk(2.3%, 71.5%, 0%, 32.5%)
CIE-LABlab(43.51, 62.53, -41.03)
CIE-LCHlch(43.51, 74.79, 326.73°)
OKLaboklab(54.01% 0.1725 -0.1139)
OKLCHoklch(54.01% 0.207 326.6)
XYZxyz(24.6927, 13.5017, 40.3272)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831AC #35AC31
analogous
#6A31AC #A831AC #AC3172
triadic
#A831AC #ACA831 #31ACA8
tetradic
#A831AC #AC6A31 #35AC31 #3172AC
square
#A831AC #AC6A31 #35AC31 #3172AC
split-complementary
#A831AC #72AC31 #31AC6A
monochromatic
#4B164D #79237C #A831AC #C84ECC #D77DDA

Accessibility & contrast

On white

5.68
#A831AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A831AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831AC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831AC#FFFFFF#000000##FFFFFF
##A831AC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAF
Deuteranopia (green-blind)
#4E6CA9
Tritanopia (blue-blind)
#AD456B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a831ac;
/* rgb */ color: rgb(168, 49, 172);
/* oklch */ color: oklch(54.0% 0.207 326.6);
Tailwind
colors: {
  custom: {
    50: '#c575c5',
    500: '#a831ac',
    950: '#000000',
  },
}
SCSS
$custom: #a831ac;
$custom-light: #c575c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a831ac",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 298.049,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.20673,
    "h": 326.6
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#A831AC
secondary
#78C376
accent
#DF494E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A831AC

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

Preview Lab → · Contrast checker → · Palette generator →

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