#A23AC1#A23AC1

#A23AC1 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.211 H 317.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A23AC1
RGBrgb(162, 58, 193)
HSLhsl(286, 54%, 49%)
HSVhsv(286, 70%, 76%)
CMYKcmyk(16.1%, 69.9%, 0%, 24.3%)
CIE-LABlab(45.02, 61.70, -51.00)
CIE-LCHlch(45.02, 80.05, 320.42°)
OKLaboklab(55.31% 0.1556 -0.1432)
OKLCHoklch(55.31% 0.211 317.4)
XYZxyz(26.0376, 14.5588, 51.8803)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AC1 #59C13A
analogous
#5F3AC1 #A23AC1 #C13A9D
triadic
#A23AC1 #C1A23A #3AC1A2
tetradic
#A23AC1 #C15F3A #59C13A #3A9DC1
square
#A23AC1 #C15F3A #59C13A #3A9DC1
split-complementary
#A23AC1 #9DC13A #3AC15F
monochromatic
#531E63 #7B2C92 #A23AC1 #B967D1 #CF96DF

Accessibility & contrast

On white

5.37
#A23AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A23AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AC1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AC1#FFFFFF#000000##FFFFFF
##A23AC11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#A1557A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23ac1;
/* rgb */ color: rgb(162, 58, 193);
/* oklch */ color: oklch(55.3% 0.211 317.4);
Tailwind
colors: {
  custom: {
    50: '#c179d4',
    500: '#a23ac1',
    950: '#000000',
  },
}
SCSS
$custom: #a23ac1;
$custom-light: #c179d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ac1",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 286.222,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.21148,
    "h": 317.4
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#A23AC1
secondary
#9ACB8C
accent
#DD4B6C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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