#A23DD2#A23DD2

#A23DD2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.224 H 312.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A23DD2
RGBrgb(162, 61, 210)
HSLhsl(281, 62%, 53%)
HSVhsv(281, 71%, 82%)
CMYKcmyk(22.9%, 71%, 0%, 17.6%)
CIE-LABlab(46.54, 63.90, -58.38)
CIE-LCHlch(46.54, 86.56, 317.58°)
OKLaboklab(56.74% 0.1509 -0.1649)
OKLCHoklch(56.74% 0.224 312.5)
XYZxyz(28.1998, 15.6728, 62.4999)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DD2 #6DD23D
analogous
#573DD2 #A23DD2 #D23DB7
triadic
#A23DD2 #D2A23D #3DD2A2
tetradic
#A23DD2 #D2573D #6DD23D #3DB7D2
square
#A23DD2 #D2573D #6DD23D #3DB7D2
split-complementary
#A23DD2 #B7D23D #3DD257
monochromatic
#5B1C79 #8028AA #A23DD2 #BA6FDE #D2A0E9

Accessibility & contrast

On white

5.08
#A23DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A23DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DD2#FFFFFF#000000##FFFFFF
##A23DD21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#2D70CF
Tritanopia (blue-blind)
#9D5D84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23dd2;
/* rgb */ color: rgb(162, 61, 210);
/* oklch */ color: oklch(56.7% 0.224 312.5);
Tailwind
colors: {
  custom: {
    50: '#c27be1',
    500: '#a23dd2',
    950: '#000000',
  },
}
SCSS
$custom: #a23dd2;
$custom-light: #c27be1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dd2",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 280.671,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.22354,
    "h": 312.5
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#A23DD2
secondary
#AAD695
accent
#E54277
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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