#A23CD3#A23CD3

#A23CD3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.226 H 312.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A23CD3
RGBrgb(162, 60, 211)
HSLhsl(281, 63%, 53%)
HSVhsv(281, 72%, 83%)
CMYKcmyk(23.2%, 71.6%, 0%, 17.3%)
CIE-LABlab(46.47, 64.51, -59.08)
CIE-LCHlch(46.47, 87.47, 317.52°)
OKLaboklab(56.71% 0.1518 -0.1669)
OKLCHoklch(56.71% 0.226 312.3)
XYZxyz(28.2719, 15.6170, 63.1405)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CD3 #6DD33C
analogous
#563CD3 #A23CD3 #D33CB8
triadic
#A23CD3 #D3A23C #3CD3A2
tetradic
#A23CD3 #D3563C #6DD33C #3CB8D3
square
#A23CD3 #D3563C #6DD33C #3CB8D3
split-complementary
#A23CD3 #B8D33C #3CD356
monochromatic
#5B1B79 #8027AB #A23CD3 #BA6EDE #D2A0EA

Accessibility & contrast

On white

5.09
#A23CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A23CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CD3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CD3#FFFFFF#000000##FFFFFF
##A23CD31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#9C5D84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23cd3;
/* rgb */ color: rgb(162, 60, 211);
/* oklch */ color: oklch(56.7% 0.226 312.3);
Tailwind
colors: {
  custom: {
    50: '#c27be1',
    500: '#a23cd3',
    950: '#000000',
  },
}
SCSS
$custom: #a23cd3;
$custom-light: #c27be1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cd3",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 280.53,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.22562,
    "h": 312.3
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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