#A431B5#A431B5

#A431B5 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.212 H 322.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A431B5
RGBrgb(164, 49, 181)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 73%, 71%)
CMYKcmyk(9.4%, 72.9%, 0%, 29%)
CIE-LABlab(43.40, 63.25, -46.56)
CIE-LCHlch(43.40, 78.54, 323.64°)
OKLaboklab(53.98% 0.1677 -0.1301)
OKLCHoklch(53.98% 0.212 322.2)
XYZxyz(24.7478, 13.4267, 44.9952)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431B5 #42B531
analogous
#6231B5 #A431B5 #B53184
triadic
#A431B5 #B5A431 #31B5A4
tetradic
#A431B5 #B56231 #42B531 #3184B5
square
#A431B5 #B56231 #42B531 #3184B5
split-complementary
#A431B5 #84B531 #31B562
monochromatic
#4D1755 #782485 #A431B5 #C053D0 #D283DD

Accessibility & contrast

On white

5.70
#A431B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A431B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431B5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431B5#FFFFFF#000000##FFFFFF
##A431B51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#A64A70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a431b5;
/* rgb */ color: rgb(164, 49, 181);
/* oklch */ color: oklch(54.0% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#c375cc',
    500: '#a431b5',
    950: '#000000',
  },
}
SCSS
$custom: #a431b5;
$custom-light: #c375cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a431b5",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 292.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.21227,
    "h": 322.2
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#A431B5
secondary
#85C77B
accent
#E1475B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A431B5

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

Preview Lab → · Contrast checker → · Palette generator →

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