#A331A3#A331A3

#A331A3 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.8% C 0.197 H 327.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A331A3
RGBrgb(163, 49, 163)
HSLhsl(300, 54%, 42%)
HSVhsv(300, 70%, 64%)
CMYKcmyk(0%, 69.9%, 0%, 36.1%)
CIE-LABlab(42.20, 59.87, -37.80)
CIE-LCHlch(42.20, 70.81, 327.74°)
OKLaboklab(52.75% 0.167 -0.1046)
OKLCHoklch(52.75% 0.197 327.9)
XYZxyz(22.8131, 12.6291, 35.8793)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331A3 #31A331
analogous
#6A31A3 #A331A3 #A3316A
triadic
#A331A3 #A3A331 #31A3A3
tetradic
#A331A3 #A36A31 #31A331 #316AA3
square
#A331A3 #A36A31 #31A331 #316AA3
split-complementary
#A331A3 #6AA331 #31A36A
monochromatic
#451545 #742374 #A331A3 #C849C8 #D678D6

Accessibility & contrast

On white

5.96
#A331A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A331A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331A3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331A3#FFFFFF#000000##FFFFFF
##A331A31.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#A84267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a331a3;
/* rgb */ color: rgb(163, 49, 163);
/* oklch */ color: oklch(52.8% 0.197 327.9);
Tailwind
colors: {
  custom: {
    50: '#c274bf',
    500: '#a331a3',
    950: '#000000',
  },
}
SCSS
$custom: #a331a3;
$custom-light: #c274bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a331a3",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 300,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.19705,
    "h": 327.9
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#A331A3
secondary
#71BF71
accent
#DD4B4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A331A3

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

Preview Lab → · Contrast checker → · Palette generator →

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