#A331BB#A331BB

#A331BB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.217 H 320.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A331BB
RGBrgb(163, 49, 187)
HSLhsl(290, 58%, 46%)
HSVhsv(290, 74%, 73%)
CMYKcmyk(12.8%, 73.8%, 0%, 26.7%)
CIE-LABlab(43.61, 64.13, -49.75)
CIE-LCHlch(43.61, 81.17, 322.20°)
OKLaboklab(54.22% 0.1661 -0.1395)
OKLCHoklch(54.22% 0.217 320)
XYZxyz(25.1711, 13.5723, 48.2979)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331BB #49BB31
analogous
#5E31BB #A331BB #BB318E
triadic
#A331BB #BBA331 #31BBA3
tetradic
#A331BB #BB5E31 #49BB31 #318EBB
square
#A331BB #BB5E31 #49BB31 #318EBB
split-complementary
#A331BB #8EBB31 #31BB5E
monochromatic
#4E185A #79248B #A331BB #BD56D3 #D087E0

Accessibility & contrast

On white

5.65
#A331BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A331BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331BB#FFFFFF#000000##FFFFFF
##A331BB1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#A34C74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a331bb;
/* rgb */ color: rgb(163, 49, 187);
/* oklch */ color: oklch(54.2% 0.217 320.0);
Tailwind
colors: {
  custom: {
    50: '#c275d0',
    500: '#a331bb',
    950: '#000000',
  },
}
SCSS
$custom: #a331bb;
$custom-light: #c275d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a331bb",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 289.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.2169,
    "h": 320
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#A331BB
secondary
#8CC97F
accent
#E24661
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A331BB

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

Preview Lab → · Contrast checker → · Palette generator →

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