#A23BB9#A23BB9

#A23BB9 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.203 H 319.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A23BB9
RGBrgb(162, 59, 185)
HSLhsl(289, 52%, 48%)
HSVhsv(289, 68%, 73%)
CMYKcmyk(12.4%, 68.1%, 0%, 27.5%)
CIE-LABlab(44.68, 59.75, -46.88)
CIE-LCHlch(44.68, 75.94, 321.88°)
OKLaboklab(54.91% 0.155 -0.1312)
OKLCHoklch(54.91% 0.203 319.8)
XYZxyz(25.2201, 14.3133, 47.3238)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB9 #52B93B
analogous
#633BB9 #A23BB9 #B93B91
triadic
#A23BB9 #B9A23B #3BB9A2
tetradic
#A23BB9 #B9633B #52B93B #3B91B9
square
#A23BB9 #B9633B #52B93B #3B91B9
split-complementary
#A23BB9 #91B93B #3BB963
monochromatic
#511D5C #792C8B #A23BB9 #BA64CD #CF92DC

Accessibility & contrast

On white

5.44
#A23BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A23BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BB9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BB9#FFFFFF#000000##FFFFFF
##A23BB91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0563BD
Deuteranopia (green-blind)
#456DB6
Tritanopia (blue-blind)
#A25275
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23bb9;
/* rgb */ color: rgb(162, 59, 185);
/* oklch */ color: oklch(54.9% 0.203 319.8);
Tailwind
colors: {
  custom: {
    50: '#c179cf',
    500: '#a23bb9',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb9;
$custom-light: #c179cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb9",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 289.048,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.20305,
    "h": 319.8
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#A23BB9
secondary
#94C788
accent
#DB4D67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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