#A23AA9#A23AA9

#A23AA9 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.190 H 325.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A23AA9
RGBrgb(162, 58, 169)
HSLhsl(296, 49%, 45%)
HSVhsv(296, 66%, 66%)
CMYKcmyk(4.1%, 65.7%, 0%, 33.7%)
CIE-LABlab(43.62, 57.19, -39.14)
CIE-LCHlch(43.62, 69.30, 325.61°)
OKLaboklab(53.85% 0.1562 -0.1086)
OKLCHoklch(53.85% 0.19 325.2)
XYZxyz(23.5742, 13.5735, 38.9067)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AA9 #41A93A
analogous
#6B3AA9 #A23AA9 #A93A79
triadic
#A23AA9 #A9A23A #3AA9A2
tetradic
#A23AA9 #A96B3A #41A93A #3A79A9
square
#A23AA9 #A96B3A #41A93A #3A79A9
split-complementary
#A23AA9 #79A93A #3AA96B
monochromatic
#4B1B4E #762A7B #A23AA9 #BF5AC6 #D187D6

Accessibility & contrast

On white

5.65
#A23AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A23AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AA9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AA9#FFFFFF#000000##FFFFFF
##A23AA91.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#A64B6D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23aa9;
/* rgb */ color: rgb(162, 58, 169);
/* oklch */ color: oklch(53.8% 0.190 325.2);
Tailwind
colors: {
  custom: {
    50: '#c178c3',
    500: '#a23aa9',
    950: '#000000',
  },
}
SCSS
$custom: #a23aa9;
$custom-light: #c178c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aa9",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 296.216,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.19024,
    "h": 325.2
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#A23AA9
secondary
#83C07F
accent
#D84F58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A23AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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