#A331A8#A331A8

#A331A8 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.201 H 326.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A331A8
RGBrgb(163, 49, 168)
HSLhsl(297, 55%, 43%)
HSVhsv(297, 71%, 66%)
CMYKcmyk(3%, 70.8%, 0%, 34.1%)
CIE-LABlab(42.48, 60.73, -40.34)
CIE-LCHlch(42.48, 72.91, 326.41°)
OKLaboklab(53.04% 0.167 -0.112)
OKLCHoklch(53.04% 0.201 326.2)
XYZxyz(23.2700, 12.8119, 38.2855)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331A8 #36A831
analogous
#6731A8 #A331A8 #A83171
triadic
#A331A8 #A8A331 #31A8A3
tetradic
#A331A8 #A86731 #36A831 #3171A8
square
#A331A8 #A86731 #36A831 #3171A8
split-complementary
#A331A8 #71A831 #31A867
monochromatic
#471549 #752379 #A331A8 #C54CCB #D57BD8

Accessibility & contrast

On white

5.90
#A331A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A331A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331A8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331A8#FFFFFF#000000##FFFFFF
##A331A81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165BAB
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#A74469
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a331a8;
/* rgb */ color: rgb(163, 49, 168);
/* oklch */ color: oklch(53.0% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#c274c2',
    500: '#a331a8',
    950: '#000000',
  },
}
SCSS
$custom: #a331a8;
$custom-light: #c274c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a331a8",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 297.479,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.20109,
    "h": 326.2
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#A331A8
secondary
#77C174
accent
#DE4A50
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A331A8

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

Preview Lab → · Contrast checker → · Palette generator →

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