#A23ECA#A23ECA

#A23ECA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.215 H 314.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A23ECA
RGBrgb(162, 62, 202)
HSLhsl(283, 57%, 52%)
HSVhsv(283, 69%, 79%)
CMYKcmyk(19.8%, 69.3%, 0%, 20.8%)
CIE-LABlab(46.17, 61.87, -54.38)
CIE-LCHlch(46.17, 82.37, 318.68°)
OKLaboklab(56.31% 0.1507 -0.1532)
OKLCHoklch(56.31% 0.215 314.5)
XYZxyz(27.2818, 15.3918, 57.3995)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ECA #66CA3E
analogous
#5C3ECA #A23ECA #CA3EAC
triadic
#A23ECA #CAA23E #3ECAA2
tetradic
#A23ECA #CA5C3E #66CA3E #3EACCA
square
#A23ECA #CA5C3E #66CA3E #3EACCA
split-complementary
#A23ECA #ACCA3E #3ECA5C
monochromatic
#581F6F #7E2C9F #A23ECA #B96ED7 #D09EE4

Accessibility & contrast

On white

5.15
#A23ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A23ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ECA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ECA#FFFFFF#000000##FFFFFF
##A23ECA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#9F5B80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23eca;
/* rgb */ color: rgb(162, 62, 202);
/* oklch */ color: oklch(56.3% 0.215 314.5);
Tailwind
colors: {
  custom: {
    50: '#c27bdb',
    500: '#a23eca',
    950: '#000000',
  },
}
SCSS
$custom: #a23eca;
$custom-light: #c27bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eca",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 282.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.2149,
    "h": 314.5
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#A23ECA
secondary
#A5D193
accent
#E04873
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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