#A431B8#A431B8

#A431B8 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.215 H 321.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A431B8
RGBrgb(164, 49, 184)
HSLhsl(291, 58%, 46%)
HSVhsv(291, 73%, 72%)
CMYKcmyk(10.9%, 73.4%, 0%, 27.8%)
CIE-LABlab(43.58, 63.79, -48.03)
CIE-LCHlch(43.58, 79.85, 323.02°)
OKLaboklab(54.17% 0.1675 -0.1344)
OKLCHoklch(54.17% 0.215 321.3)
XYZxyz(25.0589, 13.5512, 46.6338)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431B8 #45B831
analogous
#6031B8 #A431B8 #B83188
triadic
#A431B8 #B8A431 #31B8A4
tetradic
#A431B8 #B86031 #45B831 #3188B8
square
#A431B8 #B86031 #45B831 #3188B8
split-complementary
#A431B8 #88B831 #31B860
monochromatic
#4E1757 #792488 #A431B8 #BF55D2 #D185DE

Accessibility & contrast

On white

5.66
#A431B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A431B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431B8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431B8#FFFFFF#000000##FFFFFF
##A431B81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#A54B72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a431b8;
/* rgb */ color: rgb(164, 49, 184);
/* oklch */ color: oklch(54.2% 0.215 321.3);
Tailwind
colors: {
  custom: {
    50: '#c375ce',
    500: '#a431b8',
    950: '#000000',
  },
}
SCSS
$custom: #a431b8;
$custom-light: #c375ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a431b8",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 291.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.21478,
    "h": 321.3
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#A431B8
secondary
#88C87D
accent
#E1475E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A431B8

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

Preview Lab → · Contrast checker → · Palette generator →

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