#A831CA#A831CA

#A831CA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.231 H 317.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A831CA
RGBrgb(168, 49, 202)
HSLhsl(287, 61%, 49%)
HSVhsv(287, 76%, 79%)
CMYKcmyk(16.8%, 75.7%, 0%, 20.8%)
CIE-LABlab(45.34, 67.92, -55.66)
CIE-LCHlch(45.34, 87.81, 320.66°)
OKLaboklab(55.9% 0.1704 -0.1567)
OKLCHoklch(55.9% 0.231 317.4)
XYZxyz(27.9059, 14.7870, 57.2499)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831CA #53CA31
analogous
#5C31CA #A831CA #CA31A0
triadic
#A831CA #CAA831 #31CAA8
tetradic
#A831CA #CA5C31 #53CA31 #31A0CA
square
#A831CA #CA5C31 #53CA31 #31A0CA
split-complementary
#A831CA #A0CA31 #31CA5C
monochromatic
#561967 #7F2599 #A831CA #BE60D8 #D291E4

Accessibility & contrast

On white

5.31
#A831CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A831CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831CA#FFFFFF#000000##FFFFFF
##A831CA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#A6527C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a831ca;
/* rgb */ color: rgb(168, 49, 202);
/* oklch */ color: oklch(55.9% 0.231 317.4);
Tailwind
colors: {
  custom: {
    50: '#c676db',
    500: '#a831ca',
    950: '#000000',
  },
}
SCSS
$custom: #a831ca;
$custom-light: #c676db;
$custom-dark: #000000;
JSON
{
  "hex": "#a831ca",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 286.667,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.23149,
    "h": 317.4
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#A831CA
secondary
#98CF88
accent
#E44467
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A831CA

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

Preview Lab → · Contrast checker → · Palette generator →

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