#A23CD5#A23CD5

#A23CD5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.227 H 311.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A23CD5
RGBrgb(162, 60, 213)
HSLhsl(280, 65%, 54%)
HSVhsv(280, 72%, 84%)
CMYKcmyk(23.9%, 71.8%, 0%, 16.5%)
CIE-LABlab(46.60, 64.92, -60.01)
CIE-LCHlch(46.60, 88.40, 317.25°)
OKLaboklab(56.85% 0.1515 -0.1697)
OKLCHoklch(56.85% 0.227 311.8)
XYZxyz(28.5242, 15.7180, 64.4692)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CD5 #6FD53C
analogous
#553CD5 #A23CD5 #D53CBB
triadic
#A23CD5 #D5A23C #3CD5A2
tetradic
#A23CD5 #D5553C #6FD53C #3CBBD5
square
#A23CD5 #D5553C #6FD53C #3CBBD5
split-complementary
#A23CD5 #BBD53C #3CD555
monochromatic
#5C1B7C #8126AE #A23CD5 #BA6EE0 #D2A1EB

Accessibility & contrast

On white

5.07
#A23CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A23CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CD5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CD5#FFFFFF#000000##FFFFFF
##A23CD51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#2770D2
Tritanopia (blue-blind)
#9C5E85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23cd5;
/* rgb */ color: rgb(162, 60, 213);
/* oklch */ color: oklch(56.9% 0.227 311.8);
Tailwind
colors: {
  custom: {
    50: '#c27be3',
    500: '#a23cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a23cd5;
$custom-light: #c27be3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cd5",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 280,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.22746,
    "h": 311.8
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#A23CD5
secondary
#ABD796
accent
#E84078
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A23CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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