#A23AC3#A23AC3

#A23AC3 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.213 H 316.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A23AC3
RGBrgb(162, 58, 195)
HSLhsl(286, 54%, 50%)
HSVhsv(286, 70%, 76%)
CMYKcmyk(16.9%, 70.3%, 0%, 23.5%)
CIE-LABlab(45.15, 62.09, -51.96)
CIE-LCHlch(45.15, 80.96, 320.08°)
OKLaboklab(55.44% 0.1555 -0.146)
OKLCHoklch(55.44% 0.213 316.8)
XYZxyz(26.2622, 14.6487, 53.0633)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AC3 #5BC33A
analogous
#5D3AC3 #A23AC3 #C33AA0
triadic
#A23AC3 #C3A23A #3AC3A2
tetradic
#A23AC3 #C35D3A #5BC33A #3AA0C3
square
#A23AC3 #C35D3A #5BC33A #3AA0C3
split-complementary
#A23AC3 #A0C33A #3AC35D
monochromatic
#541E65 #7B2C94 #A23AC3 #B968D2 #CF97E0

Accessibility & contrast

On white

5.34
#A23AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A23AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AC3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AC3#FFFFFF#000000##FFFFFF
##A23AC31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#3C6EC0
Tritanopia (blue-blind)
#A0557B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23ac3;
/* rgb */ color: rgb(162, 58, 195);
/* oklch */ color: oklch(55.4% 0.213 316.8);
Tailwind
colors: {
  custom: {
    50: '#c179d6',
    500: '#a23ac3',
    950: '#000000',
  },
}
SCSS
$custom: #a23ac3;
$custom-light: #c179d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ac3",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 285.547,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.21329,
    "h": 316.8
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#A23AC3
secondary
#9CCC8D
accent
#DE4A6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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