#A431A5#A431A5

#A431A5 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 327.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A431A5
RGBrgb(164, 49, 165)
HSLhsl(299, 54%, 42%)
HSVhsv(299, 70%, 65%)
CMYKcmyk(0.6%, 70.3%, 0%, 35.3%)
CIE-LABlab(42.47, 60.44, -38.55)
CIE-LCHlch(42.47, 71.69, 327.47°)
OKLaboklab(53.02% 0.1681 -0.1068)
OKLCHoklch(53.02% 0.199 327.6)
XYZxyz(23.1994, 12.8074, 36.8402)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431A5 #32A531
analogous
#6A31A5 #A431A5 #A5316C
triadic
#A431A5 #A5A431 #31A5A4
tetradic
#A431A5 #A56A31 #32A531 #316CA5
square
#A431A5 #A56A31 #32A531 #316CA5
split-complementary
#A431A5 #6CA531 #31A56A
monochromatic
#461547 #752376 #A431A5 #C84AC9 #D679D7

Accessibility & contrast

On white

5.90
#A431A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A431A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431A5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431A5#FFFFFF#000000##FFFFFF
##A431A51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#A94268
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a431a5;
/* rgb */ color: rgb(164, 49, 165);
/* oklch */ color: oklch(53.0% 0.199 327.6);
Tailwind
colors: {
  custom: {
    50: '#c274c0',
    500: '#a431a5',
    950: '#000000',
  },
}
SCSS
$custom: #a431a5;
$custom-light: #c274c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a431a5",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 299.483,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.19916,
    "h": 327.6
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#A431A5
secondary
#73C072
accent
#DE4A4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A431A5

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

Preview Lab → · Contrast checker → · Palette generator →

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