#A23ABC#A23ABC

#A23ABC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.207 H 318.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A23ABC
RGBrgb(162, 58, 188)
HSLhsl(288, 53%, 48%)
HSVhsv(288, 69%, 74%)
CMYKcmyk(13.8%, 69.1%, 0%, 26.3%)
CIE-LABlab(44.72, 60.73, -48.57)
CIE-LCHlch(44.72, 77.77, 321.35°)
OKLaboklab(54.99% 0.1559 -0.1361)
OKLCHoklch(54.99% 0.207 318.9)
XYZxyz(25.4892, 14.3395, 48.9924)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ABC #54BC3A
analogous
#613ABC #A23ABC #BC3A95
triadic
#A23ABC #BCA23A #3ABCA2
tetradic
#A23ABC #BC613A #54BC3A #3A95BC
square
#A23ABC #BC613A #54BC3A #3A95BC
split-complementary
#A23ABC #95BC3A #3ABC61
monochromatic
#511D5E #7A2C8D #A23ABC #BA64CF #CF93DE

Accessibility & contrast

On white

5.43
#A23ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A23ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ABC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ABC#FFFFFF#000000##FFFFFF
##A23ABC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#A25277
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23abc;
/* rgb */ color: rgb(162, 58, 188);
/* oklch */ color: oklch(55.0% 0.207 318.9);
Tailwind
colors: {
  custom: {
    50: '#c179d1',
    500: '#a23abc',
    950: '#000000',
  },
}
SCSS
$custom: #a23abc;
$custom-light: #c179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23abc",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 288,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.20698,
    "h": 318.9
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#A23ABC
secondary
#96C989
accent
#DC4C68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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