#A23AA5#A23AA5

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

Color values

HEX#A23AA5
RGBrgb(162, 58, 165)
HSLhsl(298, 48%, 44%)
HSVhsv(298, 65%, 65%)
CMYKcmyk(1.8%, 64.8%, 0%, 35.3%)
CIE-LABlab(43.40, 56.47, -37.10)
CIE-LCHlch(43.40, 67.57, 326.69°)
OKLaboklab(53.62% 0.156 -0.1027)
OKLCHoklch(53.62% 0.187 326.6)
XYZxyz(23.2045, 13.4256, 36.9592)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AA5 #3DA53A
analogous
#6C3AA5 #A23AA5 #A53A72
triadic
#A23AA5 #A5A23A #3AA5A2
tetradic
#A23AA5 #A56C3A #3DA53A #3A72A5
square
#A23AA5 #A56C3A #3DA53A #3A72A5
split-complementary
#A23AA5 #72A53A #3AA56C
monochromatic
#491A4A #762A78 #A23AA5 #C158C4 #D285D4

Accessibility & contrast

On white

5.70
#A23AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23AA5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AA5#FFFFFF#000000##FFFFFF
##A23AA51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#A6496A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a23aa5;
/* rgb */ color: rgb(162, 58, 165);
/* oklch */ color: oklch(53.6% 0.187 326.6);
Tailwind
colors: {
  custom: {
    50: '#c178c0',
    500: '#a23aa5',
    950: '#000000',
  },
}
SCSS
$custom: #a23aa5;
$custom-light: #c178c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aa5",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 298.318,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.18681,
    "h": 326.6
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#A23AA5
secondary
#7EBE7D
accent
#D85054
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A23AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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