#A23DB2#A23DB2

#A23DB2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.194 H 321.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A23DB2
RGBrgb(162, 61, 178)
HSLhsl(292, 49%, 47%)
HSVhsv(292, 66%, 70%)
CMYKcmyk(9%, 65.7%, 0%, 30.2%)
CIE-LABlab(44.57, 57.59, -42.95)
CIE-LCHlch(44.57, 71.84, 323.29°)
OKLaboklab(54.7% 0.1529 -0.1197)
OKLCHoklch(54.7% 0.194 321.9)
XYZxyz(24.6041, 14.2345, 43.5624)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DB2 #4DB23D
analogous
#683DB2 #A23DB2 #B23D88
triadic
#A23DB2 #B2A23D #3DB2A2
tetradic
#A23DB2 #B2683D #4DB23D #3D88B2
square
#A23DB2 #B2683D #4DB23D #3D88B2
split-complementary
#A23DB2 #88B23D #3DB268
monochromatic
#4F1E57 #792D84 #A23DB2 #BB63C9 #CF90D9

Accessibility & contrast

On white

5.46
#A23DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A23DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DB2#FFFFFF#000000##FFFFFF
##A23DB21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23db2;
/* rgb */ color: rgb(162, 61, 178);
/* oklch */ color: oklch(54.7% 0.194 321.9);
Tailwind
colors: {
  custom: {
    50: '#c17ac9',
    500: '#a23db2',
    950: '#000000',
  },
}
SCSS
$custom: #a23db2;
$custom-light: #c17ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23db2",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 291.795,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.19417,
    "h": 321.9
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#A23DB2
secondary
#8FC487
accent
#D94F62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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