#A23ECC#A23ECC

#A23ECC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.217 H 314.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A23ECC
RGBrgb(162, 62, 204)
HSLhsl(282, 58%, 52%)
HSVhsv(282, 70%, 80%)
CMYKcmyk(20.6%, 69.6%, 0%, 20%)
CIE-LABlab(46.29, 62.27, -55.33)
CIE-LCHlch(46.29, 83.30, 318.38°)
OKLaboklab(56.44% 0.1506 -0.1559)
OKLCHoklch(56.44% 0.217 314)
XYZxyz(27.5201, 15.4872, 58.6547)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ECC #68CC3E
analogous
#5B3ECC #A23ECC #CC3EAF
triadic
#A23ECC #CCA23E #3ECCA2
tetradic
#A23ECC #CC5B3E #68CC3E #3EAFCC
square
#A23ECC #CC5B3E #68CC3E #3EAFCC
split-complementary
#A23ECC #AFCC3E #3ECC5B
monochromatic
#591E72 #7F2BA2 #A23ECC #B96ED9 #D19FE6

Accessibility & contrast

On white

5.13
#A23ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A23ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ECC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ECC#FFFFFF#000000##FFFFFF
##A23ECC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#9E5B81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23ecc;
/* rgb */ color: rgb(162, 62, 204);
/* oklch */ color: oklch(56.4% 0.217 314.0);
Tailwind
colors: {
  custom: {
    50: '#c27bdc',
    500: '#a23ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a23ecc;
$custom-light: #c27bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ecc",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 282.254,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.21676,
    "h": 314
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#A23ECC
secondary
#A6D294
accent
#E14674
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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