#A23EA2#A23EA2

#A23EA2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.179 H 327.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A23EA2
RGBrgb(162, 62, 162)
HSLhsl(300, 45%, 44%)
HSVhsv(300, 62%, 64%)
CMYKcmyk(0%, 61.7%, 0%, 36.5%)
CIE-LABlab(43.85, 54.24, -34.60)
CIE-LCHlch(43.85, 64.33, 327.47°)
OKLaboklab(53.9% 0.1511 -0.0955)
OKLCHoklch(53.9% 0.179 327.7)
XYZxyz(23.1442, 13.7368, 35.6078)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EA2 #3EA23E
analogous
#703EA2 #A23EA2 #A23E70
triadic
#A23EA2 #A2A23E #3EA2A2
tetradic
#A23EA2 #A2703E #3EA23E #3E70A2
square
#A23EA2 #A2703E #3EA23E #3E70A2
split-complementary
#A23EA2 #70A23E #3EA270
monochromatic
#491C49 #762D76 #A23EA2 #C15CC1 #D289D2

Accessibility & contrast

On white

5.60
#A23EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A23EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EA2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EA2#FFFFFF#000000##FFFFFF
##A23EA21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#A74B6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23ea2;
/* rgb */ color: rgb(162, 62, 162);
/* oklch */ color: oklch(53.9% 0.179 327.7);
Tailwind
colors: {
  custom: {
    50: '#c07abe',
    500: '#a23ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a23ea2;
$custom-light: #c07abe;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ea2",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.17871,
    "h": 327.7
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#A23EA2
secondary
#80BC80
accent
#D45353
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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