#A23CCC#A23CCC

#A23CCC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.219 H 314.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A23CCC
RGBrgb(162, 60, 204)
HSLhsl(283, 59%, 52%)
HSVhsv(283, 71%, 80%)
CMYKcmyk(20.6%, 70.6%, 0%, 20%)
CIE-LABlab(46.01, 63.08, -55.79)
CIE-LCHlch(46.01, 84.22, 318.51°)
OKLaboklab(56.24% 0.1526 -0.1573)
OKLCHoklch(56.24% 0.219 314.1)
XYZxyz(27.4134, 15.2736, 58.6191)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CCC #66CC3C
analogous
#5A3CCC #A23CCC #CC3CAE
triadic
#A23CCC #CCA23C #3CCCA2
tetradic
#A23CCC #CC5A3C #66CC3C #3CAECC
square
#A23CCC #CC5A3C #66CC3C #3CAECC
split-complementary
#A23CCC #AECC3C #3CCC5A
monochromatic
#581D70 #7E2AA1 #A23CCC #B96DD9 #D09DE5

Accessibility & contrast

On white

5.18
#A23CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A23CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CCC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CCC#FFFFFF#000000##FFFFFF
##A23CCC1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#346FC9
Tritanopia (blue-blind)
#9E5A80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23ccc;
/* rgb */ color: rgb(162, 60, 204);
/* oklch */ color: oklch(56.2% 0.219 314.1);
Tailwind
colors: {
  custom: {
    50: '#c27adc',
    500: '#a23ccc',
    950: '#000000',
  },
}
SCSS
$custom: #a23ccc;
$custom-light: #c27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ccc",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 282.5,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.21914,
    "h": 314.1
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#A23CCC
secondary
#A5D192
accent
#E24673
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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