#A331C1#A331C1

#A331C1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.222 H 318.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A331C1
RGBrgb(163, 49, 193)
HSLhsl(288, 60%, 47%)
HSVhsv(288, 75%, 76%)
CMYKcmyk(15.5%, 74.6%, 0%, 24.3%)
CIE-LABlab(43.99, 65.25, -52.64)
CIE-LCHlch(43.99, 83.84, 321.11°)
OKLaboklab(54.61% 0.1655 -0.1479)
OKLCHoklch(54.61% 0.222 318.2)
XYZxyz(25.8269, 13.8346, 51.7517)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331C1 #4FC131
analogous
#5B31C1 #A331C1 #C13197
triadic
#A331C1 #C1A331 #31C1A3
tetradic
#A331C1 #C15B31 #4FC131 #3197C1
square
#A331C1 #C15B31 #4FC131 #3197C1
split-complementary
#A331C1 #97C131 #31C15B
monochromatic
#51185F #7A2590 #A331C1 #BB5AD5 #CF8BE2

Accessibility & contrast

On white

5.58
#A331C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A331C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331C1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331C1#FFFFFF#000000##FFFFFF
##A331C11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#386CBE
Tritanopia (blue-blind)
#A24F77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a331c1;
/* rgb */ color: rgb(163, 49, 193);
/* oklch */ color: oklch(54.6% 0.222 318.2);
Tailwind
colors: {
  custom: {
    50: '#c275d4',
    500: '#a331c1',
    950: '#000000',
  },
}
SCSS
$custom: #a331c1;
$custom-light: #c275d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a331c1",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 287.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.222,
    "h": 318.2
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#A331C1
secondary
#91CC82
accent
#E34566
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A331C1

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

Preview Lab → · Contrast checker → · Palette generator →

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