#A23DB5#A23DB5

#A23DB5 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.197 H 320.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A23DB5
RGBrgb(162, 61, 181)
HSLhsl(291, 50%, 47%)
HSVhsv(291, 66%, 71%)
CMYKcmyk(10.5%, 66.3%, 0%, 29%)
CIE-LABlab(44.74, 58.16, -44.43)
CIE-LCHlch(44.74, 73.19, 322.62°)
OKLaboklab(54.88% 0.1529 -0.124)
OKLCHoklch(54.88% 0.197 320.9)
XYZxyz(24.9086, 14.3563, 45.1661)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DB5 #50B53D
analogous
#663DB5 #A23DB5 #B53D8C
triadic
#A23DB5 #B5A23D #3DB5A2
tetradic
#A23DB5 #B5663D #50B53D #3D8CB5
square
#A23DB5 #B5663D #50B53D #3D8CB5
split-complementary
#A23DB5 #8CB53D #3DB566
monochromatic
#501E59 #792E87 #A23DB5 #BB64CB #CF92DA

Accessibility & contrast

On white

5.42
#A23DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23DB5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DB5#FFFFFF#000000##FFFFFF
##A23DB51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963B9
Deuteranopia (green-blind)
#496EB2
Tritanopia (blue-blind)
#A35174
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23db5;
/* rgb */ color: rgb(162, 61, 181);
/* oklch */ color: oklch(54.9% 0.197 320.9);
Tailwind
colors: {
  custom: {
    50: '#c17acc',
    500: '#a23db5',
    950: '#000000',
  },
}
SCSS
$custom: #a23db5;
$custom-light: #c17acc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23db5",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 290.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.19687,
    "h": 320.9
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#A23DB5
secondary
#92C588
accent
#D94F65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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