#A23CC5#A23CC5

#A23CC5 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.213 H 316.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A23CC5
RGBrgb(162, 60, 197)
HSLhsl(285, 54%, 50%)
HSVhsv(285, 70%, 77%)
CMYKcmyk(17.8%, 69.5%, 0%, 22.7%)
CIE-LABlab(45.56, 61.68, -52.46)
CIE-LCHlch(45.56, 80.97, 319.62°)
OKLaboklab(55.78% 0.1532 -0.1475)
OKLCHoklch(55.78% 0.213 316.1)
XYZxyz(26.5926, 14.9453, 54.2964)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CC5 #5FC53C
analogous
#5E3CC5 #A23CC5 #C53CA3
triadic
#A23CC5 #C5A23C #3CC5A2
tetradic
#A23CC5 #C55E3C #5FC53C #3CA3C5
square
#A23CC5 #C55E3C #5FC53C #3CA3C5
split-complementary
#A23CC5 #A3C53C #3CC55E
monochromatic
#551F68 #7C2D97 #A23CC5 #B86BD3 #CF9AE1

Accessibility & contrast

On white

5.26
#A23CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A23CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CC5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CC5#FFFFFF#000000##FFFFFF
##A23CC51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#3B6FC2
Tritanopia (blue-blind)
#A0577C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23cc5;
/* rgb */ color: rgb(162, 60, 197);
/* oklch */ color: oklch(55.8% 0.213 316.1);
Tailwind
colors: {
  custom: {
    50: '#c17ad7',
    500: '#a23cc5',
    950: '#000000',
  },
}
SCSS
$custom: #a23cc5;
$custom-light: #c17ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cc5",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 284.672,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55775,
    "c": 0.21271,
    "h": 316.1
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#A23CC5
secondary
#9FCD90
accent
#DE4A70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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