#A331B0#A331B0

#A331B0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.208 H 323.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A331B0
RGBrgb(163, 49, 176)
HSLhsl(294, 56%, 44%)
HSVhsv(294, 72%, 69%)
CMYKcmyk(7.4%, 72.2%, 0%, 31%)
CIE-LABlab(42.94, 62.14, -44.35)
CIE-LCHlch(42.94, 76.34, 324.48°)
OKLaboklab(53.52% 0.1668 -0.1237)
OKLCHoklch(53.52% 0.208 323.4)
XYZxyz(24.0383, 13.1192, 42.3320)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B0 #3EB031
analogous
#6431B0 #A331B0 #B0317E
triadic
#A331B0 #B0A331 #31B0A3
tetradic
#A331B0 #B06431 #3EB031 #317EB0
square
#A331B0 #B06431 #3EB031 #317EB0
split-complementary
#A331B0 #7EB031 #31B064
monochromatic
#4A1650 #772480 #A331B0 #C150CE #D280DC

Accessibility & contrast

On white

5.80
#A331B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A331B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B0#FFFFFF#000000##FFFFFF
##A331B01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#A6486E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a331b0;
/* rgb */ color: rgb(163, 49, 176);
/* oklch */ color: oklch(53.5% 0.208 323.4);
Tailwind
colors: {
  custom: {
    50: '#c274c8',
    500: '#a331b0',
    950: '#000000',
  },
}
SCSS
$custom: #a331b0;
$custom-light: #c274c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b0",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 293.858,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.20768,
    "h": 323.4
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#A331B0
secondary
#80C578
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331B0

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

Preview Lab → · Contrast checker → · Palette generator →

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