#A23AAC#A23AAC

#A23AAC is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.193 H 324.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A23AAC
RGBrgb(162, 58, 172)
HSLhsl(295, 50%, 45%)
HSVhsv(295, 66%, 67%)
CMYKcmyk(5.8%, 66.3%, 0%, 32.5%)
CIE-LABlab(43.78, 57.73, -40.65)
CIE-LCHlch(43.78, 70.61, 324.85°)
OKLaboklab(54.02% 0.1563 -0.113)
OKLCHoklch(54.02% 0.193 324.1)
XYZxyz(23.8591, 13.6875, 40.4070)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AAC #44AC3A
analogous
#693AAC #A23AAC #AC3A7D
triadic
#A23AAC #ACA23A #3AACA2
tetradic
#A23AAC #AC693A #44AC3A #3A7DAC
square
#A23AAC #AC693A #44AC3A #3A7DAC
split-complementary
#A23AAC #7DAC3A #3AAC69
monochromatic
#4C1B50 #772B7E #A23AAC #BE5BC8 #D089D7

Accessibility & contrast

On white

5.62
#A23AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A23AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AAC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AAC#FFFFFF#000000##FFFFFF
##A23AAC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#A54C6E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23aac;
/* rgb */ color: rgb(162, 58, 172);
/* oklch */ color: oklch(54.0% 0.193 324.1);
Tailwind
colors: {
  custom: {
    50: '#c178c5',
    500: '#a23aac',
    950: '#000000',
  },
}
SCSS
$custom: #a23aac;
$custom-light: #c178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aac",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 294.737,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.19283,
    "h": 324.1
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#A23AAC
secondary
#86C280
accent
#D94F5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A23AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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