#A23AA4#A23AA4

#A23AA4 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.186 H 327.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A23AA4
RGBrgb(162, 58, 164)
HSLhsl(299, 48%, 44%)
HSVhsv(299, 65%, 64%)
CMYKcmyk(1.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(43.34, 56.30, -36.59)
CIE-LCHlch(43.34, 67.14, 326.98°)
OKLaboklab(53.56% 0.156 -0.1012)
OKLCHoklch(53.56% 0.186 327)
XYZxyz(23.1138, 13.3893, 36.4817)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AA4 #3CA43A
analogous
#6D3AA4 #A23AA4 #A43A71
triadic
#A23AA4 #A4A23A #3AA4A2
tetradic
#A23AA4 #A46D3A #3CA43A #3A71A4
square
#A23AA4 #A46D3A #3CA43A #3A71A4
split-complementary
#A23AA4 #71A43A #3AA46D
monochromatic
#491A4A #752A77 #A23AA4 #C257C4 #D285D4

Accessibility & contrast

On white

5.71
#A23AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A23AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AA4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AA4#FFFFFF#000000##FFFFFF
##A23AA41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#A7496A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a23aa4;
/* rgb */ color: rgb(162, 58, 164);
/* oklch */ color: oklch(53.6% 0.186 327.0);
Tailwind
colors: {
  custom: {
    50: '#c178bf',
    500: '#a23aa4',
    950: '#000000',
  },
}
SCSS
$custom: #a23aa4;
$custom-light: #c178bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aa4",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 298.868,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.18595,
    "h": 327
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#A23AA4
secondary
#7DBE7C
accent
#D75053
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A23AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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