#A831BA#A831BA

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

Color values

HEX#A831BA
RGBrgb(168, 49, 186)
HSLhsl(292, 58%, 46%)
HSVhsv(292, 74%, 73%)
CMYKcmyk(9.7%, 73.7%, 0%, 27.1%)
CIE-LABlab(44.33, 64.98, -47.97)
CIE-LCHlch(44.33, 80.77, 323.57°)
OKLaboklab(54.86% 0.172 -0.1341)
OKLCHoklch(54.86% 0.218 322.1)
XYZxyz(26.1088, 14.0681, 47.7851)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831BA #43BA31
analogous
#6331BA #A831BA #BA3187
triadic
#A831BA #BAA831 #31BAA8
tetradic
#A831BA #BA6331 #43BA31 #3187BA
square
#A831BA #BA6331 #43BA31 #3187BA
split-complementary
#A831BA #87BA31 #31BA63
monochromatic
#501759 #7C248A #A831BA #C256D2 #D386DF

Accessibility & contrast

On white

5.51
#A831BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A831BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831BA#FFFFFF#000000##FFFFFF
##A831BA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#AA4B73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a831ba;
/* rgb */ color: rgb(168, 49, 186);
/* oklch */ color: oklch(54.9% 0.218 322.1);
Tailwind
colors: {
  custom: {
    50: '#c675cf',
    500: '#a831ba',
    950: '#000000',
  },
}
SCSS
$custom: #a831ba;
$custom-light: #c675cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a831ba",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 292.117,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.21813,
    "h": 322.1
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#A831BA
secondary
#88C97E
accent
#E2465B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A831BA

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

Preview Lab → · Contrast checker → · Palette generator →

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