#A331C2#A331C2

#A331C2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.223 H 317.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A331C2
RGBrgb(163, 49, 194)
HSLhsl(287, 60%, 48%)
HSVhsv(287, 75%, 76%)
CMYKcmyk(16%, 74.7%, 0%, 23.9%)
CIE-LABlab(44.06, 65.44, -53.12)
CIE-LCHlch(44.06, 84.29, 320.93°)
OKLaboklab(54.68% 0.1654 -0.1494)
OKLCHoklch(54.68% 0.223 317.9)
XYZxyz(25.9388, 13.8794, 52.3411)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331C2 #50C231
analogous
#5A31C2 #A331C2 #C23199
triadic
#A331C2 #C2A331 #31C2A3
tetradic
#A331C2 #C25A31 #50C231 #3199C2
square
#A331C2 #C25A31 #50C231 #3199C2
split-complementary
#A331C2 #99C231 #31C25A
monochromatic
#511860 #7A2591 #A331C2 #BB5BD6 #CF8CE2

Accessibility & contrast

On white

5.56
#A331C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A331C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331C2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331C2#FFFFFF#000000##FFFFFF
##A331C21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#A25078
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a331c2;
/* rgb */ color: rgb(163, 49, 194);
/* oklch */ color: oklch(54.7% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#c275d5',
    500: '#a331c2',
    950: '#000000',
  },
}
SCSS
$custom: #a331c2;
$custom-light: #c275d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a331c2",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 287.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.22286,
    "h": 317.9
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#A331C2
secondary
#92CC83
accent
#E34567
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A331C2

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

Preview Lab → · Contrast checker → · Palette generator →

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