#A23ED2#A23ED2

#A23ED2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.222 H 312.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A23ED2
RGBrgb(162, 62, 210)
HSLhsl(281, 62%, 53%)
HSVhsv(281, 70%, 82%)
CMYKcmyk(22.9%, 70.5%, 0%, 17.6%)
CIE-LABlab(46.69, 63.50, -58.15)
CIE-LCHlch(46.69, 86.10, 317.52°)
OKLaboklab(56.85% 0.1499 -0.1642)
OKLCHoklch(56.85% 0.222 312.4)
XYZxyz(28.2537, 15.7806, 62.5179)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ED2 #6ED23E
analogous
#583ED2 #A23ED2 #D23EB8
triadic
#A23ED2 #D2A23E #3ED2A2
tetradic
#A23ED2 #D2583E #6ED23E #3EB8D2
square
#A23ED2 #D2583E #6ED23E #3EB8D2
split-complementary
#A23ED2 #B8D23E #3ED258
monochromatic
#5B1C79 #8028AB #A23ED2 #BA70DE #D2A1E9

Accessibility & contrast

On white

5.05
#A23ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A23ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ED2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ED2#FFFFFF#000000##FFFFFF
##A23ED21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#9C5E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23ed2;
/* rgb */ color: rgb(162, 62, 210);
/* oklch */ color: oklch(56.8% 0.222 312.4);
Tailwind
colors: {
  custom: {
    50: '#c27ce1',
    500: '#a23ed2',
    950: '#000000',
  },
}
SCSS
$custom: #a23ed2;
$custom-light: #c27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ed2",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 280.541,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.22238,
    "h": 312.4
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#A23ED2
secondary
#ABD696
accent
#E54377
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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