#A431A2#A431A2

#A431A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.197 H 328.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A431A2
RGBrgb(164, 49, 162)
HSLhsl(301, 54%, 42%)
HSVhsv(301, 70%, 64%)
CMYKcmyk(0%, 70.1%, 1.2%, 35.7%)
CIE-LABlab(42.31, 59.94, -37.02)
CIE-LCHlch(42.31, 70.45, 328.30°)
OKLaboklab(52.84% 0.1681 -0.1023)
OKLCHoklch(52.84% 0.197 328.7)
XYZxyz(22.9295, 12.6994, 35.4190)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431A2 #31A433
analogous
#6C31A4 #A431A2 #A43169
triadic
#A431A2 #A2A431 #31A2A4
tetradic
#A431A2 #A46C31 #31A433 #3169A4
square
#A431A2 #A46C31 #31A433 #3169A4
split-complementary
#A431A2 #69A431 #31A46C
monochromatic
#461545 #752373 #A431A2 #C949C7 #D779D5

Accessibility & contrast

On white

5.93
#A431A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A431A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431A2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431A2#FFFFFF#000000##FFFFFF
##A431A21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A94166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a431a2;
/* rgb */ color: rgb(164, 49, 162);
/* oklch */ color: oklch(52.8% 0.197 328.7);
Tailwind
colors: {
  custom: {
    50: '#c274be',
    500: '#a431a2',
    950: '#000000',
  },
}
SCSS
$custom: #a431a2;
$custom-light: #c274be;
$custom-dark: #000000;
JSON
{
  "hex": "#a431a2",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 301.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.19676,
    "h": 328.7
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#A431A2
secondary
#72BF73
accent
#DD4D4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A431A2

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

Preview Lab → · Contrast checker → · Palette generator →

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