#A331C8#A331C8

#A331C8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.228 H 316.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A331C8
RGBrgb(163, 49, 200)
HSLhsl(285, 61%, 49%)
HSVhsv(285, 76%, 78%)
CMYKcmyk(18.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(44.45, 66.58, -55.97)
CIE-LCHlch(44.45, 86.99, 319.95°)
OKLaboklab(55.08% 0.1646 -0.1577)
OKLCHoklch(55.08% 0.228 316.2)
XYZxyz(26.6263, 14.1544, 55.9619)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331C8 #56C831
analogous
#5831C8 #A331C8 #C831A2
triadic
#A331C8 #C8A331 #31C8A3
tetradic
#A331C8 #C85831 #56C831 #31A2C8
square
#A331C8 #C85831 #56C831 #31A2C8
split-complementary
#A331C8 #A2C831 #31C858
monochromatic
#531966 #7B2597 #A331C8 #BA5FD8 #CF90E4

Accessibility & contrast

On white

5.48
#A331C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A331C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331C8#FFFFFF#000000##FFFFFF
##A331C81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#A1527B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a331c8;
/* rgb */ color: rgb(163, 49, 200);
/* oklch */ color: oklch(55.1% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#c375d9',
    500: '#a331c8',
    950: '#000000',
  },
}
SCSS
$custom: #a331c8;
$custom-light: #c375d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a331c8",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 285.298,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.228,
    "h": 316.2
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#A331C8
secondary
#98CE86
accent
#E4446B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A331C8

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

Preview Lab → · Contrast checker → · Palette generator →

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