#A331B9#A331B9

#A331B9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.215 H 320.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A331B9
RGBrgb(163, 49, 185)
HSLhsl(290, 58%, 46%)
HSVhsv(290, 74%, 73%)
CMYKcmyk(11.9%, 73.5%, 0%, 27.5%)
CIE-LABlab(43.49, 63.77, -48.78)
CIE-LCHlch(43.49, 80.28, 322.59°)
OKLaboklab(54.09% 0.1663 -0.1366)
OKLCHoklch(54.09% 0.215 320.6)
XYZxyz(24.9585, 13.4872, 47.1782)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B9 #47B931
analogous
#5F31B9 #A331B9 #B9318B
triadic
#A331B9 #B9A331 #31B9A3
tetradic
#A331B9 #B95F31 #47B931 #318BB9
square
#A331B9 #B95F31 #47B931 #318BB9
split-complementary
#A331B9 #8BB931 #31B95F
monochromatic
#4E1758 #782489 #A331B9 #BE55D2 #D086DF

Accessibility & contrast

On white

5.68
#A331B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A331B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B9#FFFFFF#000000##FFFFFF
##A331B91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#3F6BB6
Tritanopia (blue-blind)
#A44C73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a331b9;
/* rgb */ color: rgb(163, 49, 185);
/* oklch */ color: oklch(54.1% 0.215 320.6);
Tailwind
colors: {
  custom: {
    50: '#c275cf',
    500: '#a331b9',
    950: '#000000',
  },
}
SCSS
$custom: #a331b9;
$custom-light: #c275cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b9",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 290.294,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.21521,
    "h": 320.6
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#A331B9
secondary
#8AC87D
accent
#E14660
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A331B9

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

Preview Lab → · Contrast checker → · Palette generator →

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