#A331B1#A331B1

#A331B1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.208 H 323.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A331B1
RGBrgb(163, 49, 177)
HSLhsl(293, 57%, 44%)
HSVhsv(293, 72%, 69%)
CMYKcmyk(7.9%, 72.3%, 0%, 30.6%)
CIE-LABlab(43.00, 62.31, -44.84)
CIE-LCHlch(43.00, 76.77, 324.26°)
OKLaboklab(53.59% 0.1668 -0.1251)
OKLCHoklch(53.59% 0.209 323.1)
XYZxyz(24.1376, 13.1589, 42.8550)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B1 #3FB131
analogous
#6331B1 #A331B1 #B1317F
triadic
#A331B1 #B1A331 #31B1A3
tetradic
#A331B1 #B16331 #3FB131 #317FB1
square
#A331B1 #B16331 #3FB131 #317FB1
split-complementary
#A331B1 #7FB131 #31B163
monochromatic
#4B1651 #772481 #A331B1 #C151CF #D280DC

Accessibility & contrast

On white

5.78
#A331B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A331B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B1#FFFFFF#000000##FFFFFF
##A331B11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#A6486E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a331b1;
/* rgb */ color: rgb(163, 49, 177);
/* oklch */ color: oklch(53.6% 0.208 323.1);
Tailwind
colors: {
  custom: {
    50: '#c274c9',
    500: '#a331b1',
    950: '#000000',
  },
}
SCSS
$custom: #a331b1;
$custom-light: #c274c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b1",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 293.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53586,
    "c": 0.2085,
    "h": 323.1
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#A331B1
secondary
#81C579
accent
#E04859
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331B1

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

Preview Lab → · Contrast checker → · Palette generator →

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