#A23AC9#A23AC9

#A23AC9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.219 H 315.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A23AC9
RGBrgb(162, 58, 201)
HSLhsl(284, 57%, 51%)
HSVhsv(284, 71%, 79%)
CMYKcmyk(19.4%, 71.1%, 0%, 21.2%)
CIE-LABlab(45.53, 63.27, -54.82)
CIE-LCHlch(45.53, 83.72, 319.09°)
OKLaboklab(55.84% 0.1549 -0.1544)
OKLCHoklch(55.84% 0.219 315.1)
XYZxyz(26.9542, 14.9255, 56.7081)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AC9 #61C93A
analogous
#5A3AC9 #A23AC9 #C93AA9
triadic
#A23AC9 #C9A23A #3AC9A2
tetradic
#A23AC9 #C95A3A #61C93A #3AA9C9
square
#A23AC9 #C95A3A #61C93A #3AA9C9
split-complementary
#A23AC9 #A9C93A #3AC95A
monochromatic
#561D6B #7D2B9B #A23AC9 #B96AD6 #CF9AE3

Accessibility & contrast

On white

5.27
#A23AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A23AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AC9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AC9#FFFFFF#000000##FFFFFF
##A23AC91.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#356EC6
Tritanopia (blue-blind)
#9F587E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23ac9;
/* rgb */ color: rgb(162, 58, 201);
/* oklch */ color: oklch(55.8% 0.219 315.1);
Tailwind
colors: {
  custom: {
    50: '#c279da',
    500: '#a23ac9',
    950: '#000000',
  },
}
SCSS
$custom: #a23ac9;
$custom-light: #c279da;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ac9",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 283.636,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.21873,
    "h": 315.1
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#A23AC9
secondary
#A1CF90
accent
#E04871
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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