#A23EA6#A23EA6

#A23EA6 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.1% C 0.182 H 326.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A23EA6
RGBrgb(162, 62, 166)
HSLhsl(298, 46%, 45%)
HSVhsv(298, 63%, 65%)
CMYKcmyk(2.4%, 62.7%, 0%, 34.9%)
CIE-LABlab(44.06, 54.95, -36.65)
CIE-LCHlch(44.06, 66.05, 326.30°)
OKLaboklab(54.12% 0.1513 -0.1014)
OKLCHoklch(54.12% 0.182 326.2)
XYZxyz(23.5054, 13.8813, 37.5103)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EA6 #42A63E
analogous
#6E3EA6 #A23EA6 #A63E76
triadic
#A23EA6 #A6A23E #3EA6A2
tetradic
#A23EA6 #A66E3E #42A63E #3E76A6
square
#A23EA6 #A66E3E #42A63E #3E76A6
split-complementary
#A23EA6 #76A63E #3EA66E
monochromatic
#4B1D4D #772D79 #A23EA6 #BF5EC3 #D18BD4

Accessibility & contrast

On white

5.56
#A23EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A23EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EA6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EA6#FFFFFF#000000##FFFFFF
##A23EA61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#536DA3
Tritanopia (blue-blind)
#A64C6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ea6;
/* rgb */ color: rgb(162, 62, 166);
/* oklch */ color: oklch(54.1% 0.182 326.2);
Tailwind
colors: {
  custom: {
    50: '#c07ac1',
    500: '#a23ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a23ea6;
$custom-light: #c07ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ea6",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 297.692,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.18218,
    "h": 326.2
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#A23EA6
secondary
#84BE82
accent
#D55358
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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