#A23AA6#A23AA6

#A23AA6 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.188 H 326.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A23AA6
RGBrgb(162, 58, 166)
HSLhsl(298, 48%, 44%)
HSVhsv(298, 65%, 65%)
CMYKcmyk(2.4%, 65.1%, 0%, 34.9%)
CIE-LABlab(43.45, 56.65, -37.61)
CIE-LCHlch(43.45, 68.00, 326.42°)
OKLaboklab(53.68% 0.1561 -0.1042)
OKLCHoklch(53.68% 0.188 326.3)
XYZxyz(23.2958, 13.4621, 37.4404)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AA6 #3EA63A
analogous
#6C3AA6 #A23AA6 #A63A74
triadic
#A23AA6 #A6A23A #3AA6A2
tetradic
#A23AA6 #A66C3A #3EA63A #3A74A6
square
#A23AA6 #A66C3A #3EA63A #3A74A6
split-complementary
#A23AA6 #74A63A #3AA66C
monochromatic
#491A4B #762A79 #A23AA6 #C158C5 #D286D5

Accessibility & contrast

On white

5.69
#A23AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A23AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AA6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AA6#FFFFFF#000000##FFFFFF
##A23AA61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#A6496B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23aa6;
/* rgb */ color: rgb(162, 58, 166);
/* oklch */ color: oklch(53.7% 0.188 326.3);
Tailwind
colors: {
  custom: {
    50: '#c178c1',
    500: '#a23aa6',
    950: '#000000',
  },
}
SCSS
$custom: #a23aa6;
$custom-light: #c178c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aa6",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 297.778,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.18766,
    "h": 326.3
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#A23AA6
secondary
#80BF7D
accent
#D85055
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A23AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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