#A431C2#A431C2

#A431C2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.223 H 318.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A431C2
RGBrgb(164, 49, 194)
HSLhsl(288, 60%, 48%)
HSVhsv(288, 75%, 76%)
CMYKcmyk(15.5%, 74.7%, 0%, 23.9%)
CIE-LABlab(44.21, 65.64, -52.87)
CIE-LCHlch(44.21, 84.28, 321.15°)
OKLaboklab(54.82% 0.1666 -0.1486)
OKLCHoklch(54.82% 0.223 318.3)
XYZxyz(26.1444, 13.9854, 52.3508)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431C2 #4FC231
analogous
#5B31C2 #A431C2 #C23198
triadic
#A431C2 #C2A431 #31C2A4
tetradic
#A431C2 #C25B31 #4FC231 #3198C2
square
#A431C2 #C25B31 #4FC231 #3198C2
split-complementary
#A431C2 #98C231 #31C25B
monochromatic
#511860 #7B2591 #A431C2 #BC5BD6 #D08CE2

Accessibility & contrast

On white

5.53
#A431C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A431C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431C2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431C2#FFFFFF#000000##FFFFFF
##A431C21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#A34F78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a431c2;
/* rgb */ color: rgb(164, 49, 194);
/* oklch */ color: oklch(54.8% 0.223 318.3);
Tailwind
colors: {
  custom: {
    50: '#c375d5',
    500: '#a431c2',
    950: '#000000',
  },
}
SCSS
$custom: #a431c2;
$custom-light: #c375d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a431c2",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 287.586,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54815,
    "c": 0.22323,
    "h": 318.3
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#A431C2
secondary
#92CC83
accent
#E34566
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A431C2

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

Preview Lab → · Contrast checker → · Palette generator →

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