#A23AB3#A23AB3

#A23AB3 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.199 H 321.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A23AB3
RGBrgb(162, 58, 179)
HSLhsl(292, 51%, 46%)
HSVhsv(292, 68%, 70%)
CMYKcmyk(9.5%, 67.6%, 0%, 29.8%)
CIE-LABlab(44.18, 59.02, -44.15)
CIE-LCHlch(44.18, 73.71, 323.20°)
OKLaboklab(54.44% 0.1562 -0.1232)
OKLCHoklch(54.44% 0.199 321.7)
XYZxyz(24.5492, 13.9635, 44.0412)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AB3 #4BB33A
analogous
#663AB3 #A23AB3 #B33A88
triadic
#A23AB3 #B3A23A #3AB3A2
tetradic
#A23AB3 #B3663A #4BB33A #3A88B3
square
#A23AB3 #B3663A #4BB33A #3A88B3
split-complementary
#A23AB3 #88B33A #3AB366
monochromatic
#4E1C57 #782B85 #A23AB3 #BC5FCB #CF8DDA

Accessibility & contrast

On white

5.54
#A23AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A23AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AB3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AB3#FFFFFF#000000##FFFFFF
##A23AB31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#A44F72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ab3;
/* rgb */ color: rgb(162, 58, 179);
/* oklch */ color: oklch(54.4% 0.199 321.7);
Tailwind
colors: {
  custom: {
    50: '#c179ca',
    500: '#a23ab3',
    950: '#000000',
  },
}
SCSS
$custom: #a23ab3;
$custom-light: #c179ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ab3",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 291.57,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.19897,
    "h": 321.7
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#A23AB3
secondary
#8DC584
accent
#DB4D61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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