#A23AAB#A23AAB

#A23AAB is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.192 H 324.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A23AAB
RGBrgb(162, 58, 171)
HSLhsl(295, 49%, 45%)
HSVhsv(295, 66%, 67%)
CMYKcmyk(5.3%, 66.1%, 0%, 32.9%)
CIE-LABlab(43.73, 57.55, -40.15)
CIE-LCHlch(43.73, 70.17, 325.10°)
OKLaboklab(53.96% 0.1562 -0.1115)
OKLCHoklch(53.96% 0.192 324.5)
XYZxyz(23.7634, 13.6492, 39.9031)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AAB #43AB3A
analogous
#693AAB #A23AAB #AB3A7C
triadic
#A23AAB #ABA23A #3AABA2
tetradic
#A23AAB #AB693A #43AB3A #3A7CAB
square
#A23AAB #AB693A #43AB3A #3A7CAB
split-complementary
#A23AAB #7CAB3A #3AAB69
monochromatic
#4B1B50 #772A7D #A23AAB #BF5BC7 #D189D7

Accessibility & contrast

On white

5.63
#A23AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A23AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AAB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AAB#FFFFFF#000000##FFFFFF
##A23AAB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#A54B6E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23aab;
/* rgb */ color: rgb(162, 58, 171);
/* oklch */ color: oklch(54.0% 0.192 324.5);
Tailwind
colors: {
  custom: {
    50: '#c178c4',
    500: '#a23aab',
    950: '#000000',
  },
}
SCSS
$custom: #a23aab;
$custom-light: #c178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aab",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 295.221,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.19197,
    "h": 324.5
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

primary
#A23AAB
secondary
#85C180
accent
#D94F5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A23AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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