#A331B6#A331B6

#A331B6 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.213 H 321.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A331B6
RGBrgb(163, 49, 182)
HSLhsl(291, 58%, 45%)
HSVhsv(291, 73%, 71%)
CMYKcmyk(10.4%, 73.1%, 0%, 28.6%)
CIE-LABlab(43.30, 63.22, -47.31)
CIE-LCHlch(43.30, 78.96, 323.19°)
OKLaboklab(53.9% 0.1665 -0.1323)
OKLCHoklch(53.9% 0.213 321.5)
XYZxyz(24.6451, 13.3619, 45.5279)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B6 #44B631
analogous
#6131B6 #A331B6 #B63186
triadic
#A331B6 #B6A331 #31B6A3
tetradic
#A331B6 #B66131 #44B631 #3186B6
square
#A331B6 #B66131 #44B631 #3186B6
split-complementary
#A331B6 #86B631 #31B661
monochromatic
#4D1756 #782486 #A331B6 #BF53D1 #D184DE

Accessibility & contrast

On white

5.72
#A331B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A331B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B6#FFFFFF#000000##FFFFFF
##A331B61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#426AB3
Tritanopia (blue-blind)
#A54A71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a331b6;
/* rgb */ color: rgb(163, 49, 182);
/* oklch */ color: oklch(53.9% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#c275cc',
    500: '#a331b6',
    950: '#000000',
  },
}
SCSS
$custom: #a331b6;
$custom-light: #c275cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b6",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 291.429,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.21268,
    "h": 321.5
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#A331B6
secondary
#86C77C
accent
#E1475D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A331B6

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

Preview Lab → · Contrast checker → · Palette generator →

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