#A23DCA#A23DCA

#A23DCA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.216 H 314.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A23DCA
RGBrgb(162, 61, 202)
HSLhsl(283, 57%, 52%)
HSVhsv(283, 70%, 79%)
CMYKcmyk(19.8%, 69.8%, 0%, 20.8%)
CIE-LABlab(46.02, 62.27, -54.62)
CIE-LCHlch(46.02, 82.83, 318.75°)
OKLaboklab(56.21% 0.1518 -0.1538)
OKLCHoklch(56.21% 0.216 314.6)
XYZxyz(27.2279, 15.2841, 57.3815)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DCA #65CA3D
analogous
#5C3DCA #A23DCA #CA3DAB
triadic
#A23DCA #CAA23D #3DCAA2
tetradic
#A23DCA #CA5C3D #65CA3D #3DABCA
square
#A23DCA #CA5C3D #65CA3D #3DABCA
split-complementary
#A23DCA #ABCA3D #3DCA5C
monochromatic
#581E6E #7E2B9F #A23DCA #B96DD7 #D09DE4

Accessibility & contrast

On white

5.18
#A23DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A23DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DCA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DCA#FFFFFF#000000##FFFFFF
##A23DCA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#9F5A7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23dca;
/* rgb */ color: rgb(162, 61, 202);
/* oklch */ color: oklch(56.2% 0.216 314.6);
Tailwind
colors: {
  custom: {
    50: '#c27bdb',
    500: '#a23dca',
    950: '#000000',
  },
}
SCSS
$custom: #a23dca;
$custom-light: #c27bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dca",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 282.979,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.2161,
    "h": 314.6
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#A23DCA
secondary
#A4D092
accent
#E04773
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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