#A431B2#A431B2

#A431B2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.210 H 323.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A431B2
RGBrgb(164, 49, 178)
HSLhsl(293, 57%, 45%)
HSVhsv(293, 72%, 70%)
CMYKcmyk(7.9%, 72.5%, 0%, 30.2%)
CIE-LABlab(43.22, 62.71, -45.08)
CIE-LCHlch(43.22, 77.23, 324.29°)
OKLaboklab(53.79% 0.1679 -0.1258)
OKLCHoklch(53.79% 0.21 323.2)
XYZxyz(24.4433, 13.3049, 43.3915)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431B2 #3FB231
analogous
#6331B2 #A431B2 #B23180
triadic
#A431B2 #B2A431 #31B2A4
tetradic
#A431B2 #B26331 #3FB231 #3180B2
square
#A431B2 #B26331 #3FB231 #3180B2
split-complementary
#A431B2 #80B231 #31B263
monochromatic
#4C1752 #782482 #A431B2 #C151CF #D281DC

Accessibility & contrast

On white

5.74
#A431B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A431B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431B2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431B2#FFFFFF#000000##FFFFFF
##A431B21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#A7486F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a431b2;
/* rgb */ color: rgb(164, 49, 178);
/* oklch */ color: oklch(53.8% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#c374ca',
    500: '#a431b2',
    950: '#000000',
  },
}
SCSS
$custom: #a431b2;
$custom-light: #c374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a431b2",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 293.488,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.20978,
    "h": 323.2
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#A431B2
secondary
#82C579
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A431B2

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

Preview Lab → · Contrast checker → · Palette generator →

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