#A23EA1#A23EA1

#A23EA1 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.8% C 0.178 H 328.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A23EA1
RGBrgb(162, 62, 161)
HSLhsl(301, 45%, 44%)
HSVhsv(301, 62%, 64%)
CMYKcmyk(0%, 61.7%, 0.6%, 36.5%)
CIE-LABlab(43.80, 54.06, -34.08)
CIE-LCHlch(43.80, 63.91, 327.77°)
OKLaboklab(53.85% 0.151 -0.094)
OKLCHoklch(53.85% 0.178 328.1)
XYZxyz(23.0556, 13.7014, 35.1416)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EA1 #3EA23F
analogous
#713EA2 #A23EA1 #A23E6F
triadic
#A23EA1 #A1A23E #3EA1A2
tetradic
#A23EA1 #A2713E #3EA23F #3E6FA2
square
#A23EA1 #A2713E #3EA23F #3E6FA2
split-complementary
#A23EA1 #6FA23E #3EA271
monochromatic
#491C49 #762D75 #A23EA1 #C15CC0 #D289D1

Accessibility & contrast

On white

5.61
#A23EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A23EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EA1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EA1#FFFFFF#000000##FFFFFF
##A23EA11.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#A74A6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23ea1;
/* rgb */ color: rgb(162, 62, 161);
/* oklch */ color: oklch(53.8% 0.178 328.1);
Tailwind
colors: {
  custom: {
    50: '#c07abd',
    500: '#a23ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a23ea1;
$custom-light: #c07abd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ea1",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 300.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.17785,
    "h": 328.1
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#A23EA1
secondary
#80BC80
accent
#D45553
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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