#A23AC4#A23AC4

#A23AC4 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.214 H 316.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A23AC4
RGBrgb(162, 58, 196)
HSLhsl(285, 54%, 50%)
HSVhsv(285, 70%, 77%)
CMYKcmyk(17.3%, 70.4%, 0%, 23.1%)
CIE-LABlab(45.21, 62.28, -52.44)
CIE-LCHlch(45.21, 81.42, 319.90°)
OKLaboklab(55.51% 0.1554 -0.1474)
OKLCHoklch(55.51% 0.214 316.5)
XYZxyz(26.3756, 14.6941, 53.6607)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AC4 #5CC43A
analogous
#5D3AC4 #A23AC4 #C43AA1
triadic
#A23AC4 #C4A23A #3AC4A2
tetradic
#A23AC4 #C45D3A #5CC43A #3AA1C4
square
#A23AC4 #C45D3A #5CC43A #3AA1C4
split-complementary
#A23AC4 #A1C43A #3AC45D
monochromatic
#541E66 #7B2C95 #A23AC4 #B869D3 #CF98E0

Accessibility & contrast

On white

5.33
#A23AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A23AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AC4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AC4#FFFFFF#000000##FFFFFF
##A23AC41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#3B6EC1
Tritanopia (blue-blind)
#A0567B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23ac4;
/* rgb */ color: rgb(162, 58, 196);
/* oklch */ color: oklch(55.5% 0.214 316.5);
Tailwind
colors: {
  custom: {
    50: '#c179d6',
    500: '#a23ac4',
    950: '#000000',
  },
}
SCSS
$custom: #a23ac4;
$custom-light: #c179d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ac4",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 285.217,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.2142,
    "h": 316.5
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#A23AC4
secondary
#9DCC8E
accent
#DE4A6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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