#A331A6#A331A6

#A331A6 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 326.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A331A6
RGBrgb(163, 49, 166)
HSLhsl(298, 54%, 42%)
HSVhsv(298, 70%, 65%)
CMYKcmyk(1.8%, 70.5%, 0%, 34.9%)
CIE-LABlab(42.37, 60.39, -39.33)
CIE-LCHlch(42.37, 72.06, 326.93°)
OKLaboklab(52.93% 0.167 -0.1091)
OKLCHoklch(52.93% 0.199 326.9)
XYZxyz(23.0851, 12.7379, 37.3118)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331A6 #34A631
analogous
#6931A6 #A331A6 #A6316E
triadic
#A331A6 #A6A331 #31A6A3
tetradic
#A331A6 #A66931 #34A631 #316EA6
square
#A331A6 #A66931 #34A631 #316EA6
split-complementary
#A331A6 #6EA631 #31A669
monochromatic
#461547 #752377 #A331A6 #C64ACA #D57AD8

Accessibility & contrast

On white

5.92
#A331A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A331A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331A6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331A6#FFFFFF#000000##FFFFFF
##A331A61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BA9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#A84368
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a331a6;
/* rgb */ color: rgb(163, 49, 166);
/* oklch */ color: oklch(52.9% 0.199 326.9);
Tailwind
colors: {
  custom: {
    50: '#c274c1',
    500: '#a331a6',
    950: '#000000',
  },
}
SCSS
$custom: #a331a6;
$custom-light: #c274c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a331a6",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 298.462,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.19947,
    "h": 326.9
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#A331A6
secondary
#75C073
accent
#DE4A4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A331A6

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

Preview Lab → · Contrast checker → · Palette generator →

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