#A23CA5#A23CA5

#A23CA5 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.184 H 326.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A23CA5
RGBrgb(162, 60, 165)
HSLhsl(298, 47%, 44%)
HSVhsv(298, 64%, 65%)
CMYKcmyk(1.8%, 63.6%, 0%, 35.3%)
CIE-LABlab(43.70, 55.63, -36.63)
CIE-LCHlch(43.70, 66.61, 326.64°)
OKLaboklab(53.84% 0.1537 -0.1013)
OKLCHoklch(53.84% 0.184 326.6)
XYZxyz(23.3073, 13.6312, 36.9935)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CA5 #3FA53C
analogous
#6E3CA5 #A23CA5 #A53C74
triadic
#A23CA5 #A5A23C #3CA5A2
tetradic
#A23CA5 #A56E3C #3FA53C #3C74A5
square
#A23CA5 #A56E3C #3FA53C #3C74A5
split-complementary
#A23CA5 #74A53C #3CA56E
monochromatic
#4A1B4B #762C78 #A23CA5 #C05BC3 #D188D4

Accessibility & contrast

On white

5.64
#A23CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A23CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CA5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CA5#FFFFFF#000000##FFFFFF
##A23CA51.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#A64A6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23ca5;
/* rgb */ color: rgb(162, 60, 165);
/* oklch */ color: oklch(53.8% 0.184 326.6);
Tailwind
colors: {
  custom: {
    50: '#c179c0',
    500: '#a23ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a23ca5;
$custom-light: #c179c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ca5",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 298.286,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53839,
    "c": 0.18409,
    "h": 326.6
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#A23CA5
secondary
#81BE7F
accent
#D65155
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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