#A23FAA#A23FAA

#A23FAA is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.184 H 324.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A23FAA
RGBrgb(162, 63, 170)
HSLhsl(296, 46%, 46%)
HSVhsv(296, 63%, 67%)
CMYKcmyk(4.7%, 62.9%, 0%, 33.3%)
CIE-LABlab(44.43, 55.25, -38.43)
CIE-LCHlch(44.43, 67.30, 325.17°)
OKLaboklab(54.46% 0.1503 -0.1066)
OKLCHoklch(54.46% 0.184 324.7)
XYZxyz(23.9329, 14.1401, 39.4911)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FAA #47AA3F
analogous
#6C3FAA #A23FAA #AA3F7C
triadic
#A23FAA #AAA23F #3FAAA2
tetradic
#A23FAA #AA6C3F #47AA3F #3F7CAA
square
#A23FAA #AA6C3F #47AA3F #3F7CAA
split-complementary
#A23FAA #7CAA3F #3FAA6C
monochromatic
#4D1E51 #772E7D #A23FAA #BD62C5 #D08ED5

Accessibility & contrast

On white

5.49
#A23FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A23FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FAA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FAA#FFFFFF#000000##FFFFFF
##A23FAA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#A54F6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23faa;
/* rgb */ color: rgb(162, 63, 170);
/* oklch */ color: oklch(54.5% 0.184 324.7);
Tailwind
colors: {
  custom: {
    50: '#c07bc4',
    500: '#a23faa',
    950: '#000000',
  },
}
SCSS
$custom: #a23faa;
$custom-light: #c07bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23faa",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 295.514,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.1843,
    "h": 324.7
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#A23FAA
secondary
#89C085
accent
#D6525C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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