#A23AC0#A23AC0

#A23AC0 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.211 H 317.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A23AC0
RGBrgb(162, 58, 192)
HSLhsl(287, 54%, 49%)
HSVhsv(287, 70%, 75%)
CMYKcmyk(15.6%, 69.8%, 0%, 24.7%)
CIE-LABlab(44.96, 61.50, -50.51)
CIE-LCHlch(44.96, 79.59, 320.60°)
OKLaboklab(55.25% 0.1557 -0.1418)
OKLCHoklch(55.25% 0.211 317.7)
XYZxyz(25.9264, 14.5144, 51.2948)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AC0 #58C03A
analogous
#5F3AC0 #A23AC0 #C03A9B
triadic
#A23AC0 #C0A23A #3AC0A2
tetradic
#A23AC0 #C05F3A #58C03A #3A9BC0
square
#A23AC0 #C05F3A #58C03A #3A9BC0
split-complementary
#A23AC0 #9BC03A #3AC05F
monochromatic
#531E62 #7A2C91 #A23AC0 #B966D1 #CF95DF

Accessibility & contrast

On white

5.38
#A23AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A23AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AC0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AC0#FFFFFF#000000##FFFFFF
##A23AC01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#A15479
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23ac0;
/* rgb */ color: rgb(162, 58, 192);
/* oklch */ color: oklch(55.2% 0.211 317.7);
Tailwind
colors: {
  custom: {
    50: '#c179d4',
    500: '#a23ac0',
    950: '#000000',
  },
}
SCSS
$custom: #a23ac0;
$custom-light: #c179d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ac0",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 286.567,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.21058,
    "h": 317.7
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#A23AC0
secondary
#99CA8B
accent
#DD4B6C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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