#A431B7#A431B7

#A431B7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.214 H 321.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A431B7
RGBrgb(164, 49, 183)
HSLhsl(291, 58%, 45%)
HSVhsv(291, 73%, 72%)
CMYKcmyk(10.4%, 73.2%, 0%, 28.2%)
CIE-LABlab(43.52, 63.61, -47.54)
CIE-LCHlch(43.52, 79.41, 323.23°)
OKLaboklab(54.1% 0.1676 -0.133)
OKLCHoklch(54.1% 0.214 321.6)
XYZxyz(24.9545, 13.5094, 46.0837)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431B7 #44B731
analogous
#6131B7 #A431B7 #B73187
triadic
#A431B7 #B7A431 #31B7A4
tetradic
#A431B7 #B76131 #44B731 #3187B7
square
#A431B7 #B76131 #44B731 #3187B7
split-complementary
#A431B7 #87B731 #31B761
monochromatic
#4D1756 #792487 #A431B7 #BF54D1 #D184DE

Accessibility & contrast

On white

5.67
#A431B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A431B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431B7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431B7#FFFFFF#000000##FFFFFF
##A431B71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#A64A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a431b7;
/* rgb */ color: rgb(164, 49, 183);
/* oklch */ color: oklch(54.1% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#c375cd',
    500: '#a431b7',
    950: '#000000',
  },
}
SCSS
$custom: #a431b7;
$custom-light: #c375cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a431b7",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 291.493,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.21395,
    "h": 321.6
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

primary
#A431B7
secondary
#87C87C
accent
#E1475D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A431B7

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

Preview Lab → · Contrast checker → · Palette generator →

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