#A23CD2#A23CD2

#A23CD2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.225 H 312.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A23CD2
RGBrgb(162, 60, 210)
HSLhsl(281, 63%, 53%)
HSVhsv(281, 71%, 82%)
CMYKcmyk(22.9%, 71.4%, 0%, 17.6%)
CIE-LABlab(46.40, 64.30, -58.61)
CIE-LCHlch(46.40, 87.01, 317.65°)
OKLaboklab(56.64% 0.1519 -0.1656)
OKLCHoklch(56.64% 0.225 312.5)
XYZxyz(28.1469, 15.5670, 62.4823)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CD2 #6CD23C
analogous
#573CD2 #A23CD2 #D23CB7
triadic
#A23CD2 #D2A23C #3CD2A2
tetradic
#A23CD2 #D2573C #6CD23C #3CB7D2
square
#A23CD2 #D2573C #6CD23C #3CB7D2
split-complementary
#A23CD2 #B7D23C #3CD257
monochromatic
#5A1C78 #8027AA #A23CD2 #BA6EDD #D19FE9

Accessibility & contrast

On white

5.11
#A23CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A23CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CD2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CD2#FFFFFF#000000##FFFFFF
##A23CD21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23cd2;
/* rgb */ color: rgb(162, 60, 210);
/* oklch */ color: oklch(56.6% 0.225 312.5);
Tailwind
colors: {
  custom: {
    50: '#c27be1',
    500: '#a23cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a23cd2;
$custom-light: #c27be1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cd2",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 280.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.22469,
    "h": 312.5
  },
  "luminance": 0.15566
}

Semantic roles & 50–950 ramp

primary
#A23CD2
secondary
#A9D594
accent
#E64277
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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