#A23CAC#A23CAC

#A23CAC is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.190 H 324.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A23CAC
RGBrgb(162, 60, 172)
HSLhsl(295, 48%, 45%)
HSVhsv(295, 65%, 67%)
CMYKcmyk(5.8%, 65.1%, 0%, 32.5%)
CIE-LABlab(44.08, 56.90, -40.18)
CIE-LCHlch(44.08, 69.66, 324.77°)
OKLaboklab(54.24% 0.154 -0.1116)
OKLCHoklch(54.24% 0.19 324.1)
XYZxyz(23.9619, 13.8930, 40.4412)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CAC #46AC3C
analogous
#6A3CAC #A23CAC #AC3C7E
triadic
#A23CAC #ACA23C #3CACA2
tetradic
#A23CAC #AC6A3C #46AC3C #3C7EAC
square
#A23CAC #AC6A3C #46AC3C #3C7EAC
split-complementary
#A23CAC #7EAC3C #3CAC6A
monochromatic
#4D1C51 #772C7F #A23CAC #BE5EC7 #D08CD7

Accessibility & contrast

On white

5.56
#A23CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A23CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CAC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CAC#FFFFFF#000000##FFFFFF
##A23CAC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#4F6CA9
Tritanopia (blue-blind)
#A54D6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23cac;
/* rgb */ color: rgb(162, 60, 172);
/* oklch */ color: oklch(54.2% 0.190 324.1);
Tailwind
colors: {
  custom: {
    50: '#c179c5',
    500: '#a23cac',
    950: '#000000',
  },
}
SCSS
$custom: #a23cac;
$custom-light: #c179c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cac",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 294.643,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.19018,
    "h": 324.1
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#A23CAC
secondary
#88C182
accent
#D8505C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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