#A23EA5#A23EA5

#A23EA5 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.181 H 326.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A23EA5
RGBrgb(162, 62, 165)
HSLhsl(298, 45%, 45%)
HSVhsv(298, 62%, 65%)
CMYKcmyk(1.8%, 62.4%, 0%, 35.3%)
CIE-LABlab(44.01, 54.77, -36.14)
CIE-LCHlch(44.01, 65.62, 326.59°)
OKLaboklab(54.06% 0.1513 -0.0999)
OKLCHoklch(54.06% 0.181 326.6)
XYZxyz(23.4140, 13.8447, 37.0291)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EA5 #41A53E
analogous
#6E3EA5 #A23EA5 #A53E75
triadic
#A23EA5 #A5A23E #3EA5A2
tetradic
#A23EA5 #A56E3E #41A53E #3E75A5
square
#A23EA5 #A56E3E #41A53E #3E75A5
split-complementary
#A23EA5 #75A53E #3EA56E
monochromatic
#4B1D4C #762D79 #A23EA5 #BF5EC2 #D18AD3

Accessibility & contrast

On white

5.57
#A23EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A23EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EA5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EA5#FFFFFF#000000##FFFFFF
##A23EA51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#546CA2
Tritanopia (blue-blind)
#A64C6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ea5;
/* rgb */ color: rgb(162, 62, 165);
/* oklch */ color: oklch(54.1% 0.181 326.6);
Tailwind
colors: {
  custom: {
    50: '#c07ac0',
    500: '#a23ea5',
    950: '#000000',
  },
}
SCSS
$custom: #a23ea5;
$custom-light: #c07ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ea5",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 298.252,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.18131,
    "h": 326.6
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#A23EA5
secondary
#83BE81
accent
#D55357
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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