#A331B5#A331B5

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

Color values

HEX#A331B5
RGBrgb(163, 49, 181)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 73%, 71%)
CMYKcmyk(9.9%, 72.9%, 0%, 29%)
CIE-LABlab(43.24, 63.04, -46.82)
CIE-LCHlch(43.24, 78.52, 323.40°)
OKLaboklab(53.84% 0.1666 -0.1309)
OKLCHoklch(53.84% 0.212 321.8)
XYZxyz(24.5422, 13.3207, 44.9856)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B5 #43B531
analogous
#6131B5 #A331B5 #B53185
triadic
#A331B5 #B5A331 #31B5A3
tetradic
#A331B5 #B56131 #43B531 #3185B5
square
#A331B5 #B56131 #43B531 #3185B5
split-complementary
#A331B5 #85B531 #31B561
monochromatic
#4C1755 #782485 #A331B5 #BF53D0 #D183DD

Accessibility & contrast

On white

5.73
#A331B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A331B5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B5#FFFFFF#000000##FFFFFF
##A331B51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#436AB2
Tritanopia (blue-blind)
#A54A70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a331b5;
/* rgb */ color: rgb(163, 49, 181);
/* oklch */ color: oklch(53.8% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#c274cc',
    500: '#a331b5',
    950: '#000000',
  },
}
SCSS
$custom: #a331b5;
$custom-light: #c274cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b5",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 291.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.21185,
    "h": 321.8
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#A331B5
secondary
#85C77B
accent
#E1475C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A331B5

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

Preview Lab → · Contrast checker → · Palette generator →

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