#A331B8#A331B8

#A331B8 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.214 H 320.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A331B8
RGBrgb(163, 49, 184)
HSLhsl(291, 58%, 46%)
HSVhsv(291, 73%, 72%)
CMYKcmyk(11.4%, 73.4%, 0%, 27.8%)
CIE-LABlab(43.43, 63.58, -48.29)
CIE-LCHlch(43.43, 79.84, 322.79°)
OKLaboklab(54.03% 0.1664 -0.1352)
OKLCHoklch(54.03% 0.214 320.9)
XYZxyz(24.8533, 13.4452, 46.6242)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B8 #46B831
analogous
#6031B8 #A331B8 #B83189
triadic
#A331B8 #B8A331 #31B8A3
tetradic
#A331B8 #B86031 #46B831 #3189B8
square
#A331B8 #B86031 #46B831 #3189B8
split-complementary
#A331B8 #89B831 #31B860
monochromatic
#4D1757 #782488 #A331B8 #BE55D2 #D185DE

Accessibility & contrast

On white

5.69
#A331B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A331B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B8#FFFFFF#000000##FFFFFF
##A331B81.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#406BB5
Tritanopia (blue-blind)
#A44B72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a331b8;
/* rgb */ color: rgb(163, 49, 184);
/* oklch */ color: oklch(54.0% 0.214 320.9);
Tailwind
colors: {
  custom: {
    50: '#c275ce',
    500: '#a331b8',
    950: '#000000',
  },
}
SCSS
$custom: #a331b8;
$custom-light: #c275ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b8",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 290.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.21437,
    "h": 320.9
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#A331B8
secondary
#89C87D
accent
#E1475F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A331B8

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

Preview Lab → · Contrast checker → · Palette generator →

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