#A23AB8#A23AB8

#A23AB8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.7% C 0.203 H 320.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A23AB8
RGBrgb(162, 58, 184)
HSLhsl(290, 52%, 47%)
HSVhsv(290, 68%, 72%)
CMYKcmyk(12%, 68.5%, 0%, 27.8%)
CIE-LABlab(44.47, 59.96, -46.62)
CIE-LCHlch(44.47, 75.95, 322.14°)
OKLaboklab(54.74% 0.1561 -0.1304)
OKLCHoklch(54.74% 0.203 320.1)
XYZxyz(25.0640, 14.1694, 46.7529)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AB8 #50B83A
analogous
#633AB8 #A23AB8 #B83A8F
triadic
#A23AB8 #B8A23A #3AB8A2
tetradic
#A23AB8 #B8633A #50B83A #3A8FB8
square
#A23AB8 #B8633A #50B83A #3A8FB8
split-complementary
#A23AB8 #8FB83A #3AB863
monochromatic
#501D5B #792B89 #A23AB8 #BB62CD #CF90DC

Accessibility & contrast

On white

5.48
#A23AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A23AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AB8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AB8#FFFFFF#000000##FFFFFF
##A23AB81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#A35175
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23ab8;
/* rgb */ color: rgb(162, 58, 184);
/* oklch */ color: oklch(54.7% 0.203 320.1);
Tailwind
colors: {
  custom: {
    50: '#c179ce',
    500: '#a23ab8',
    950: '#000000',
  },
}
SCSS
$custom: #a23ab8;
$custom-light: #c179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ab8",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 289.524,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.20341,
    "h": 320.1
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#A23AB8
secondary
#92C787
accent
#DC4C65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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