#A23DB1#A23DB1

#A23DB1 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.6% C 0.193 H 322.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A23DB1
RGBrgb(162, 61, 177)
HSLhsl(292, 49%, 47%)
HSVhsv(292, 66%, 69%)
CMYKcmyk(8.5%, 65.5%, 0%, 30.6%)
CIE-LABlab(44.51, 57.40, -42.45)
CIE-LCHlch(44.51, 71.39, 323.52°)
OKLaboklab(54.64% 0.1529 -0.1183)
OKLCHoklch(54.64% 0.193 322.3)
XYZxyz(24.5040, 14.1945, 43.0356)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DB1 #4CB13D
analogous
#683DB1 #A23DB1 #B13D86
triadic
#A23DB1 #B1A23D #3DB1A2
tetradic
#A23DB1 #B1683D #4CB13D #3D86B1
square
#A23DB1 #B1683D #4CB13D #3D86B1
split-complementary
#A23DB1 #86B13D #3DB168
monochromatic
#4F1E56 #782D83 #A23DB1 #BC62C9 #CF90D9

Accessibility & contrast

On white

5.47
#A23DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A23DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DB1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DB1#FFFFFF#000000##FFFFFF
##A23DB11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B4
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#A45072
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23db1;
/* rgb */ color: rgb(162, 61, 177);
/* oklch */ color: oklch(54.6% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#c17ac9',
    500: '#a23db1',
    950: '#000000',
  },
}
SCSS
$custom: #a23db1;
$custom-light: #c17ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23db1",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 292.241,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.19328,
    "h": 322.3
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#A23DB1
secondary
#8EC486
accent
#D85061
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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