#A331CA#A331CA

#A331CA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.230 H 315.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A331CA
RGBrgb(163, 49, 202)
HSLhsl(285, 61%, 49%)
HSVhsv(285, 76%, 79%)
CMYKcmyk(19.3%, 75.7%, 0%, 20.8%)
CIE-LABlab(44.59, 66.97, -56.92)
CIE-LCHlch(44.59, 87.89, 319.64°)
OKLaboklab(55.22% 0.1644 -0.1605)
OKLCHoklch(55.22% 0.23 315.7)
XYZxyz(26.8615, 14.2485, 57.2009)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331CA #58CA31
analogous
#5731CA #A331CA #CA31A5
triadic
#A331CA #CAA331 #31CAA3
tetradic
#A331CA #CA5731 #58CA31 #31A5CA
square
#A331CA #CA5731 #58CA31 #31A5CA
split-complementary
#A331CA #A5CA31 #31CA57
monochromatic
#541967 #7B2599 #A331CA #BA60D8 #CF91E4

Accessibility & contrast

On white

5.46
#A331CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A331CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331CA#FFFFFF#000000##FFFFFF
##A331CA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#2D6CC7
Tritanopia (blue-blind)
#A0537C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a331ca;
/* rgb */ color: rgb(163, 49, 202);
/* oklch */ color: oklch(55.2% 0.230 315.7);
Tailwind
colors: {
  custom: {
    50: '#c375db',
    500: '#a331ca',
    950: '#000000',
  },
}
SCSS
$custom: #a331ca;
$custom-light: #c375db;
$custom-dark: #000000;
JSON
{
  "hex": "#a331ca",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 284.706,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.22972,
    "h": 315.7
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#A331CA
secondary
#9ACF88
accent
#E4446D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A331CA

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

Preview Lab → · Contrast checker → · Palette generator →

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