#A23ED3#A23ED3

#A23ED3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.223 H 312.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A23ED3
RGBrgb(162, 62, 211)
HSLhsl(280, 63%, 54%)
HSVhsv(280, 71%, 83%)
CMYKcmyk(23.2%, 70.6%, 0%, 17.3%)
CIE-LABlab(46.75, 63.70, -58.62)
CIE-LCHlch(46.75, 86.57, 317.38°)
OKLaboklab(56.91% 0.1498 -0.1656)
OKLCHoklch(56.91% 0.223 312.1)
XYZxyz(28.3786, 15.8306, 63.1761)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ED3 #6FD33E
analogous
#573ED3 #A23ED3 #D33EBA
triadic
#A23ED3 #D3A23E #3ED3A2
tetradic
#A23ED3 #D3573E #6FD33E #3EBAD3
square
#A23ED3 #D3573E #6FD33E #3EBAD3
split-complementary
#A23ED3 #BAD33E #3ED357
monochromatic
#5C1C7B #8127AC #A23ED3 #BA70DE #D2A2EA

Accessibility & contrast

On white

5.04
#A23ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A23ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ED3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ED3#FFFFFF#000000##FFFFFF
##A23ED31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#2C71D0
Tritanopia (blue-blind)
#9C5E85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23ed3;
/* rgb */ color: rgb(162, 62, 211);
/* oklch */ color: oklch(56.9% 0.223 312.1);
Tailwind
colors: {
  custom: {
    50: '#c27ce1',
    500: '#a23ed3',
    950: '#000000',
  },
}
SCSS
$custom: #a23ed3;
$custom-light: #c27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ed3",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 280.268,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.22331,
    "h": 312.1
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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