#A331A0#A331A0

#A331A0 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.195 H 329.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A331A0
RGBrgb(163, 49, 160)
HSLhsl(302, 54%, 42%)
HSVhsv(302, 70%, 64%)
CMYKcmyk(0%, 69.9%, 1.8%, 36.1%)
CIE-LABlab(42.04, 59.37, -36.26)
CIE-LCHlch(42.04, 69.57, 328.58°)
OKLaboklab(52.58% 0.1669 -0.1002)
OKLCHoklch(52.58% 0.195 329)
XYZxyz(22.5475, 12.5229, 34.4805)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331A0 #31A334
analogous
#6D31A3 #A331A0 #A33167
triadic
#A331A0 #A0A331 #31A0A3
tetradic
#A331A0 #A36D31 #31A334 #3167A3
square
#A331A0 #A36D31 #31A334 #3167A3
split-complementary
#A331A0 #67A331 #31A36D
monochromatic
#451544 #742372 #A331A0 #C849C5 #D678D4

Accessibility & contrast

On white

5.99
#A331A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A331A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331A0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331A0#FFFFFF#000000##FFFFFF
##A331A01.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A3
Deuteranopia (green-blind)
#50699D
Tritanopia (blue-blind)
#A94065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a331a0;
/* rgb */ color: rgb(163, 49, 160);
/* oklch */ color: oklch(52.6% 0.195 329.0);
Tailwind
colors: {
  custom: {
    50: '#c274bc',
    500: '#a331a0',
    950: '#000000',
  },
}
SCSS
$custom: #a331a0;
$custom-light: #c274bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a331a0",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 301.579,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.19465,
    "h": 329
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#A331A0
secondary
#71BF73
accent
#DD4F4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A331A0

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

Preview Lab → · Contrast checker → · Palette generator →

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