#A23DCC#A23DCC

#A23DCC is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.218 H 314.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A23DCC
RGBrgb(162, 61, 204)
HSLhsl(282, 58%, 52%)
HSVhsv(282, 70%, 80%)
CMYKcmyk(20.6%, 70.1%, 0%, 20%)
CIE-LABlab(46.15, 62.68, -55.56)
CIE-LCHlch(46.15, 83.76, 318.44°)
OKLaboklab(56.34% 0.1516 -0.1566)
OKLCHoklch(56.34% 0.218 314.1)
XYZxyz(27.4663, 15.3794, 58.6367)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DCC #67CC3D
analogous
#5B3DCC #A23DCC #CC3DAE
triadic
#A23DCC #CCA23D #3DCCA2
tetradic
#A23DCC #CC5B3D #67CC3D #3DAECC
square
#A23DCC #CC5B3D #67CC3D #3DAECC
split-complementary
#A23DCC #AECC3D #3DCC5B
monochromatic
#581E71 #7E2AA1 #A23DCC #B96DD9 #D09EE5

Accessibility & contrast

On white

5.15
#A23DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A23DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DCC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DCC#FFFFFF#000000##FFFFFF
##A23DCC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#9E5B80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23dcc;
/* rgb */ color: rgb(162, 61, 204);
/* oklch */ color: oklch(56.3% 0.218 314.1);
Tailwind
colors: {
  custom: {
    50: '#c27bdc',
    500: '#a23dcc',
    950: '#000000',
  },
}
SCSS
$custom: #a23dcc;
$custom-light: #c27bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dcc",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 282.378,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.21796,
    "h": 314.1
  },
  "luminance": 0.15379
}

Semantic roles & 50–950 ramp

primary
#A23DCC
secondary
#A5D293
accent
#E24674
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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