#A23CAA#A23CAA

#A23CAA is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.188 H 324.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A23CAA
RGBrgb(162, 60, 170)
HSLhsl(296, 48%, 45%)
HSVhsv(296, 65%, 67%)
CMYKcmyk(4.7%, 64.7%, 0%, 33.3%)
CIE-LABlab(43.97, 56.54, -39.17)
CIE-LCHlch(43.97, 68.78, 325.28°)
OKLaboklab(54.12% 0.1539 -0.1087)
OKLCHoklch(54.12% 0.188 324.8)
XYZxyz(23.7713, 13.8168, 39.4372)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CAA #44AA3C
analogous
#6B3CAA #A23CAA #AA3C7B
triadic
#A23CAA #AAA23C #3CAAA2
tetradic
#A23CAA #AA6B3C #44AA3C #3C7BAA
square
#A23CAA #AA6B3C #44AA3C #3C7BAA
split-complementary
#A23CAA #7BAA3C #3CAA6B
monochromatic
#4C1C50 #772C7D #A23CAA #BE5DC6 #D08BD6

Accessibility & contrast

On white

5.58
#A23CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A23CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CAA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CAA#FFFFFF#000000##FFFFFF
##A23CAA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#A54C6E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23caa;
/* rgb */ color: rgb(162, 60, 170);
/* oklch */ color: oklch(54.1% 0.188 324.8);
Tailwind
colors: {
  custom: {
    50: '#c179c4',
    500: '#a23caa',
    950: '#000000',
  },
}
SCSS
$custom: #a23caa;
$custom-light: #c179c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23caa",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 295.636,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.18843,
    "h": 324.8
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#A23CAA
secondary
#86C081
accent
#D7505A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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