#A331B4#A331B4

#A331B4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.211 H 322.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A331B4
RGBrgb(163, 49, 180)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 73%, 71%)
CMYKcmyk(9.4%, 72.8%, 0%, 29.4%)
CIE-LABlab(43.18, 62.85, -46.32)
CIE-LCHlch(43.18, 78.08, 323.61°)
OKLaboklab(53.77% 0.1666 -0.1295)
OKLCHoklch(53.77% 0.211 322.2)
XYZxyz(24.4399, 13.2798, 44.4471)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B4 #42B431
analogous
#6231B4 #A331B4 #B43183
triadic
#A331B4 #B4A331 #31B4A3
tetradic
#A331B4 #B46231 #42B431 #3183B4
square
#A331B4 #B46231 #42B431 #3183B4
split-complementary
#A331B4 #83B431 #31B462
monochromatic
#4C1754 #772484 #A331B4 #C052D0 #D182DD

Accessibility & contrast

On white

5.74
#A331B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A331B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B4#FFFFFF#000000##FFFFFF
##A331B41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#A54970
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a331b4;
/* rgb */ color: rgb(163, 49, 180);
/* oklch */ color: oklch(53.8% 0.211 322.2);
Tailwind
colors: {
  custom: {
    50: '#c274cb',
    500: '#a331b4',
    950: '#000000',
  },
}
SCSS
$custom: #a331b4;
$custom-light: #c274cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b4",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 292.214,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.21101,
    "h": 322.2
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#A331B4
secondary
#84C67B
accent
#E0475B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331B4

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

Preview Lab → · Contrast checker → · Palette generator →

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