#A23CB9#A23CB9

#A23CB9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.202 H 319.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A23CB9
RGBrgb(162, 60, 185)
HSLhsl(289, 51%, 48%)
HSVhsv(289, 68%, 73%)
CMYKcmyk(12.4%, 67.6%, 0%, 27.5%)
CIE-LABlab(44.83, 59.34, -46.64)
CIE-LCHlch(44.83, 75.48, 321.83°)
OKLaboklab(55.01% 0.1539 -0.1305)
OKLCHoklch(55.01% 0.202 319.7)
XYZxyz(25.2720, 14.4171, 47.3411)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB9 #53B93C
analogous
#633CB9 #A23CB9 #B93C91
triadic
#A23CB9 #B9A23C #3CB9A2
tetradic
#A23CB9 #B9633C #53B93C #3C91B9
square
#A23CB9 #B9633C #53B93C #3C91B9
split-complementary
#A23CB9 #91B93C #3CB963
monochromatic
#511E5D #7A2D8B #A23CB9 #BA65CD #CF93DC

Accessibility & contrast

On white

5.41
#A23CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A23CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CB9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB9#FFFFFF#000000##FFFFFF
##A23CB91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B63BD
Deuteranopia (green-blind)
#466EB6
Tritanopia (blue-blind)
#A25276
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23cb9;
/* rgb */ color: rgb(162, 60, 185);
/* oklch */ color: oklch(55.0% 0.202 319.7);
Tailwind
colors: {
  custom: {
    50: '#c17acf',
    500: '#a23cb9',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb9;
$custom-light: #c17acf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb9",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 288.96,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.20178,
    "h": 319.7
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#A23CB9
secondary
#95C789
accent
#DA4D67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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