#A831C5#A831C5

#A831C5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.227 H 318.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A831C5
RGBrgb(168, 49, 197)
HSLhsl(288, 60%, 48%)
HSVhsv(288, 75%, 77%)
CMYKcmyk(14.7%, 75.1%, 0%, 22.7%)
CIE-LABlab(45.02, 66.99, -53.29)
CIE-LCHlch(45.02, 85.60, 321.50°)
OKLaboklab(55.57% 0.171 -0.1497)
OKLCHoklch(55.57% 0.227 318.8)
XYZxyz(27.3235, 14.5540, 54.1825)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831C5 #4EC531
analogous
#5E31C5 #A831C5 #C53198
triadic
#A831C5 #C5A831 #31C5A8
tetradic
#A831C5 #C55E31 #4EC531 #3198C5
square
#A831C5 #C55E31 #4EC531 #3198C5
split-complementary
#A831C5 #98C531 #31C55E
monochromatic
#541963 #7E2594 #A831C5 #BF5DD7 #D28EE3

Accessibility & contrast

On white

5.37
#A831C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A831C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831C5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831C5#FFFFFF#000000##FFFFFF
##A831C51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#3A6EC2
Tritanopia (blue-blind)
#A85079
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a831c5;
/* rgb */ color: rgb(168, 49, 197);
/* oklch */ color: oklch(55.6% 0.227 318.8);
Tailwind
colors: {
  custom: {
    50: '#c676d7',
    500: '#a831c5',
    950: '#000000',
  },
}
SCSS
$custom: #a831c5;
$custom-light: #c676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a831c5",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 288.243,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.22728,
    "h": 318.8
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#A831C5
secondary
#93CD85
accent
#E34464
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A831C5

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

Preview Lab → · Contrast checker → · Palette generator →

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