#A23ABA#A23ABA

#A23ABA is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.205 H 319.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A23ABA
RGBrgb(162, 58, 186)
HSLhsl(289, 52%, 48%)
HSVhsv(289, 69%, 73%)
CMYKcmyk(12.9%, 68.8%, 0%, 27.1%)
CIE-LABlab(44.59, 60.35, -47.60)
CIE-LCHlch(44.59, 76.86, 321.74°)
OKLaboklab(54.87% 0.156 -0.1333)
OKLCHoklch(54.87% 0.205 319.5)
XYZxyz(25.2751, 14.2539, 47.8648)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ABA #52BA3A
analogous
#623ABA #A23ABA #BA3A92
triadic
#A23ABA #BAA23A #3ABAA2
tetradic
#A23ABA #BA623A #52BA3A #3A92BA
square
#A23ABA #BA623A #52BA3A #3A92BA
split-complementary
#A23ABA #92BA3A #3ABA62
monochromatic
#511D5D #792B8B #A23ABA #BA63CE #CF92DD

Accessibility & contrast

On white

5.45
#A23ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A23ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ABA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ABA#FFFFFF#000000##FFFFFF
##A23ABA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#A25276
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23aba;
/* rgb */ color: rgb(162, 58, 186);
/* oklch */ color: oklch(54.9% 0.205 319.5);
Tailwind
colors: {
  custom: {
    50: '#c179cf',
    500: '#a23aba',
    950: '#000000',
  },
}
SCSS
$custom: #a23aba;
$custom-light: #c179cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aba",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 288.75,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.20519,
    "h": 319.5
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#A23ABA
secondary
#94C888
accent
#DC4C67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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