#A23DAB#A23DAB

#A23DAB is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.188 H 324.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A23DAB
RGBrgb(162, 61, 171)
HSLhsl(295, 47%, 45%)
HSVhsv(295, 64%, 67%)
CMYKcmyk(5.3%, 64.3%, 0%, 32.9%)
CIE-LABlab(44.18, 56.29, -39.43)
CIE-LCHlch(44.18, 68.73, 324.99°)
OKLaboklab(54.29% 0.1528 -0.1095)
OKLCHoklch(54.29% 0.188 324.4)
XYZxyz(23.9191, 13.9605, 39.9550)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DAB #46AB3D
analogous
#6B3DAB #A23DAB #AB3D7D
triadic
#A23DAB #ABA23D #3DABA2
tetradic
#A23DAB #AB6B3D #46AB3D #3D7DAB
square
#A23DAB #AB6B3D #46AB3D #3D7DAB
split-complementary
#A23DAB #7DAB3D #3DAB6B
monochromatic
#4D1D51 #772D7E #A23DAB #BE5FC6 #D08CD6

Accessibility & contrast

On white

5.54
#A23DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A23DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DAB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DAB#FFFFFF#000000##FFFFFF
##A23DAB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#A54E6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23dab;
/* rgb */ color: rgb(162, 61, 171);
/* oklch */ color: oklch(54.3% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#c17ac4',
    500: '#a23dab',
    950: '#000000',
  },
}
SCSS
$custom: #a23dab;
$custom-light: #c17ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dab",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 295.091,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.18795,
    "h": 324.4
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#A23DAB
secondary
#88C183
accent
#D7515C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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