#A23ECE#A23ECE

#A23ECE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.219 H 313.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A23ECE
RGBrgb(162, 62, 206)
HSLhsl(282, 60%, 53%)
HSVhsv(282, 70%, 81%)
CMYKcmyk(21.4%, 69.9%, 0%, 19.2%)
CIE-LABlab(46.42, 62.68, -56.27)
CIE-LCHlch(46.42, 84.23, 318.08°)
OKLaboklab(56.58% 0.1504 -0.1587)
OKLCHoklch(56.58% 0.219 313.4)
XYZxyz(27.7616, 15.5837, 59.9261)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ECE #6ACE3E
analogous
#5A3ECE #A23ECE #CE3EB2
triadic
#A23ECE #CEA23E #3ECEA2
tetradic
#A23ECE #CE5A3E #6ACE3E #3EB2CE
square
#A23ECE #CE5A3E #6ACE3E #3EB2CE
split-complementary
#A23ECE #B2CE3E #3ECE5A
monochromatic
#5A1D74 #7F2AA5 #A23ECE #BA6FDA #D1A0E7

Accessibility & contrast

On white

5.10
#A23ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A23ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ECE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ECE#FFFFFF#000000##FFFFFF
##A23ECE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#9E5C82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23ece;
/* rgb */ color: rgb(162, 62, 206);
/* oklch */ color: oklch(56.6% 0.219 313.4);
Tailwind
colors: {
  custom: {
    50: '#c27cde',
    500: '#a23ece',
    950: '#000000',
  },
}
SCSS
$custom: #a23ece;
$custom-light: #c27cde;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ece",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 281.667,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.21863,
    "h": 313.4
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#A23ECE
secondary
#A8D395
accent
#E34575
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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