#A23AA2#A23AA2

#A23AA2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.184 H 327.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A23AA2
RGBrgb(162, 58, 162)
HSLhsl(300, 47%, 43%)
HSVhsv(300, 64%, 64%)
CMYKcmyk(0%, 64.2%, 0%, 36.5%)
CIE-LABlab(43.24, 55.95, -35.57)
CIE-LCHlch(43.24, 66.29, 327.55°)
OKLaboklab(53.45% 0.1559 -0.0982)
OKLCHoklch(53.45% 0.184 327.8)
XYZxyz(22.9346, 13.3177, 35.5380)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AA2 #3AA23A
analogous
#6E3AA2 #A23AA2 #A23A6E
triadic
#A23AA2 #A2A23A #3AA2A2
tetradic
#A23AA2 #A26E3A #3AA23A #3A6EA2
square
#A23AA2 #A26E3A #3AA23A #3A6EA2
split-complementary
#A23AA2 #6EA23A #3AA26E
monochromatic
#481A48 #752A75 #A23AA2 #C357C3 #D384D3

Accessibility & contrast

On white

5.73
#A23AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A23AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AA2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AA2#FFFFFF#000000##FFFFFF
##A23AA21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A74869
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a23aa2;
/* rgb */ color: rgb(162, 58, 162);
/* oklch */ color: oklch(53.5% 0.184 327.8);
Tailwind
colors: {
  custom: {
    50: '#c178be',
    500: '#a23aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a23aa2;
$custom-light: #c178be;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aa2",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.18426,
    "h": 327.8
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#A23AA2
secondary
#7BBD7B
accent
#D75151
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A23AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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