#A23AAA#A23AAA

#A23AAA is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.191 H 324.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A23AAA
RGBrgb(162, 58, 170)
HSLhsl(296, 49%, 45%)
HSVhsv(296, 66%, 67%)
CMYKcmyk(4.7%, 65.9%, 0%, 33.3%)
CIE-LABlab(43.67, 57.37, -39.64)
CIE-LCHlch(43.67, 69.73, 325.35°)
OKLaboklab(53.91% 0.1562 -0.1101)
OKLCHoklch(53.91% 0.191 324.8)
XYZxyz(23.6685, 13.6112, 39.4030)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AAA #42AA3A
analogous
#6A3AAA #A23AAA #AA3A7A
triadic
#A23AAA #AAA23A #3AAAA2
tetradic
#A23AAA #AA6A3A #42AA3A #3A7AAA
square
#A23AAA #AA6A3A #42AA3A #3A7AAA
split-complementary
#A23AAA #7AAA3A #3AAA6A
monochromatic
#4B1B4F #772A7C #A23AAA #BF5AC7 #D188D6

Accessibility & contrast

On white

5.64
#A23AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A23AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23AAA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23AAA#FFFFFF#000000##FFFFFF
##A23AAA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#A54B6D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a23aaa;
/* rgb */ color: rgb(162, 58, 170);
/* oklch */ color: oklch(53.9% 0.191 324.8);
Tailwind
colors: {
  custom: {
    50: '#c178c4',
    500: '#a23aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a23aaa;
$custom-light: #c178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23aaa",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 295.714,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.1911,
    "h": 324.8
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#A23AAA
secondary
#84C17F
accent
#D94F59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A23AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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