#A23AB7#A23AB7

#A23AB7 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.203 H 320.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A23AB7
RGBrgb(162, 58, 183)
HSLhsl(290, 52%, 47%)
HSVhsv(290, 68%, 72%)
CMYKcmyk(11.5%, 68.3%, 0%, 28.2%)
CIE-LABlab(44.42, 59.78, -46.13)
CIE-LCHlch(44.42, 75.50, 322.34°)
OKLaboklab(54.68% 0.1561 -0.129)
OKLCHoklch(54.68% 0.203 320.4)
XYZxyz(24.9596, 14.1276, 46.2028)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23AB7 #4FB73A
analogous
#643AB7 #A23AB7 #B73A8E
triadic
#A23AB7 #B7A23A #3AB7A2
tetradic
#A23AB7 #B7643A #4FB73A #3A8EB7
square
#A23AB7 #B7643A #4FB73A #3A8EB7
split-complementary
#A23AB7 #8EB73A #3AB764
monochromatic
#501D5A #792B89 #A23AB7 #BB61CD #CF90DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23AB7#FFFFFF#000000##FFFFFF
##A23AB71.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)
#0862BB
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#A35074
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23ab7;
/* rgb */ color: rgb(162, 58, 183);
/* oklch */ color: oklch(54.7% 0.203 320.4);
Tailwind
colors: {
  custom: {
    50: '#c179cd',
    500: '#a23ab7',
    950: '#000000',
  },
}
SCSS
$custom: #a23ab7;
$custom-light: #c179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ab7",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 289.92,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54682,
    "c": 0.20252,
    "h": 320.4
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#A23AB7
secondary
#91C786
accent
#DB4C64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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