#A331C6#A331C6

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

Color values

HEX#A331C6
RGBrgb(163, 49, 198)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 78%)
CMYKcmyk(17.7%, 75.3%, 0%, 22.4%)
CIE-LABlab(44.32, 66.20, -55.03)
CIE-LCHlch(44.32, 86.09, 320.27°)
OKLaboklab(54.95% 0.1649 -0.1549)
OKLCHoklch(54.95% 0.226 316.8)
XYZxyz(26.3941, 14.0615, 54.7390)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331C6 #54C631
analogous
#5831C6 #A331C6 #C6319E
triadic
#A331C6 #C6A331 #31C6A3
tetradic
#A331C6 #C65831 #54C631 #319EC6
square
#A331C6 #C65831 #54C631 #319EC6
split-complementary
#A331C6 #9EC631 #31C658
monochromatic
#521964 #7B2595 #A331C6 #BA5DD7 #CF8EE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A331C6#FFFFFF#000000##FFFFFF
##A331C61.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)
#0062CA
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#A1517A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a331c6;
/* rgb */ color: rgb(163, 49, 198);
/* oklch */ color: oklch(54.9% 0.226 316.8);
Tailwind
colors: {
  custom: {
    50: '#c375d8',
    500: '#a331c6',
    950: '#000000',
  },
}
SCSS
$custom: #a331c6;
$custom-light: #c375d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a331c6",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 285.906,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.22628,
    "h": 316.8
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#A331C6
secondary
#96CE85
accent
#E3446A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A331C6

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

Preview Lab → · Contrast checker → · Palette generator →

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