#A23EA4#A23EA4

#A23EA4 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.180 H 326.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A23EA4
RGBrgb(162, 62, 164)
HSLhsl(299, 45%, 44%)
HSVhsv(299, 62%, 64%)
CMYKcmyk(1.2%, 62.2%, 0%, 35.7%)
CIE-LABlab(43.96, 54.60, -35.63)
CIE-LCHlch(43.96, 65.19, 326.87°)
OKLaboklab(54.01% 0.1512 -0.0984)
OKLCHoklch(54.01% 0.18 326.9)
XYZxyz(23.3234, 13.8084, 36.5516)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EA4 #40A43E
analogous
#6F3EA4 #A23EA4 #A43E73
triadic
#A23EA4 #A4A23E #3EA4A2
tetradic
#A23EA4 #A46F3E #40A43E #3E73A4
square
#A23EA4 #A46F3E #40A43E #3E73A4
split-complementary
#A23EA4 #73A43E #3EA46F
monochromatic
#4A1C4B #762D78 #A23EA4 #C05DC2 #D18AD3

Accessibility & contrast

On white

5.58
#A23EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A23EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EA4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EA4#FFFFFF#000000##FFFFFF
##A23EA41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A7
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#A64B6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ea4;
/* rgb */ color: rgb(162, 62, 164);
/* oklch */ color: oklch(54.0% 0.180 326.9);
Tailwind
colors: {
  custom: {
    50: '#c07abf',
    500: '#a23ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a23ea4;
$custom-light: #c07abf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ea4",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 298.824,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.18044,
    "h": 326.9
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#A23EA4
secondary
#82BD81
accent
#D55356
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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