#A23DC5#A23DC5

#A23DC5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.211 H 316.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A23DC5
RGBrgb(162, 61, 197)
HSLhsl(285, 54%, 51%)
HSVhsv(285, 69%, 77%)
CMYKcmyk(17.8%, 69%, 0%, 22.7%)
CIE-LABlab(45.70, 61.27, -52.23)
CIE-LCHlch(45.70, 80.51, 319.56°)
OKLaboklab(55.88% 0.1522 -0.1468)
OKLCHoklch(55.88% 0.211 316)
XYZxyz(26.6455, 15.0511, 54.3141)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DC5 #60C53D
analogous
#5E3DC5 #A23DC5 #C53DA4
triadic
#A23DC5 #C5A23D #3DC5A2
tetradic
#A23DC5 #C55E3D #60C53D #3DA4C5
square
#A23DC5 #C55E3D #60C53D #3DA4C5
split-complementary
#A23DC5 #A4C53D #3DC55E
monochromatic
#561F68 #7C2D98 #A23DC5 #B96CD3 #CF9BE1

Accessibility & contrast

On white

5.24
#A23DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A23DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DC5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DC5#FFFFFF#000000##FFFFFF
##A23DC51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#3C6FC2
Tritanopia (blue-blind)
#A0587D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23dc5;
/* rgb */ color: rgb(162, 61, 197);
/* oklch */ color: oklch(55.9% 0.211 316.0);
Tailwind
colors: {
  custom: {
    50: '#c17bd7',
    500: '#a23dc5',
    950: '#000000',
  },
}
SCSS
$custom: #a23dc5;
$custom-light: #c17bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dc5",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 284.559,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.21148,
    "h": 316
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#A23DC5
secondary
#A0CD91
accent
#DD4A70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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