#A23AB9#A23AB9

#A23AB9 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.204 H 319.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A23AB9
RGBrgb(162, 58, 185)
HSLhsl(289, 52%, 48%)
HSVhsv(289, 69%, 73%)
CMYKcmyk(12.4%, 68.6%, 0%, 27.5%)
CIE-LABlab(44.53, 60.15, -47.11)
CIE-LCHlch(44.53, 76.41, 321.93°)
OKLaboklab(54.81% 0.1561 -0.1318)
OKLCHoklch(54.81% 0.204 319.8)
XYZxyz(25.1692, 14.2115, 47.3069)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AB9 #51B93A
analogous
#633AB9 #A23AB9 #B93A90
triadic
#A23AB9 #B9A23A #3AB9A2
tetradic
#A23AB9 #B9633A #51B93A #3A90B9
square
#A23AB9 #B9633A #51B93A #3A90B9
split-complementary
#A23AB9 #90B93A #3AB963
monochromatic
#501D5C #792B8A #A23AB9 #BA62CE #CF91DC

Accessibility & contrast

On white

5.47
#A23AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A23AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AB9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AB9#FFFFFF#000000##FFFFFF
##A23AB91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BD
Deuteranopia (green-blind)
#446DB6
Tritanopia (blue-blind)
#A25175
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23ab9;
/* rgb */ color: rgb(162, 58, 185);
/* oklch */ color: oklch(54.8% 0.204 319.8);
Tailwind
colors: {
  custom: {
    50: '#c179cf',
    500: '#a23ab9',
    950: '#000000',
  },
}
SCSS
$custom: #a23ab9;
$custom-light: #c179cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ab9",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 289.134,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.2043,
    "h": 319.8
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#A23AB9
secondary
#93C787
accent
#DC4C66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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