#A23DCD#A23DCD

#A23DCD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.219 H 313.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A23DCD
RGBrgb(162, 61, 205)
HSLhsl(282, 59%, 52%)
HSVhsv(282, 70%, 80%)
CMYKcmyk(21%, 70.2%, 0%, 19.6%)
CIE-LABlab(46.21, 62.88, -56.04)
CIE-LCHlch(46.21, 84.23, 318.30°)
OKLaboklab(56.41% 0.1515 -0.158)
OKLCHoklch(56.41% 0.219 313.8)
XYZxyz(27.5866, 15.4275, 59.2704)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DCD #68CD3D
analogous
#5A3DCD #A23DCD #CD3DB0
triadic
#A23DCD #CDA23D #3DCDA2
tetradic
#A23DCD #CD5A3D #68CD3D #3DB0CD
square
#A23DCD #CD5A3D #68CD3D #3DB0CD
split-complementary
#A23DCD #B0CD3D #3DCD5A
monochromatic
#591D72 #7F2AA3 #A23DCD #B96EDA #D19EE6

Accessibility & contrast

On white

5.14
#A23DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A23DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DCD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DCD#FFFFFF#000000##FFFFFF
##A23DCD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#9E5B81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23dcd;
/* rgb */ color: rgb(162, 61, 205);
/* oklch */ color: oklch(56.4% 0.219 313.8);
Tailwind
colors: {
  custom: {
    50: '#c27bdd',
    500: '#a23dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a23dcd;
$custom-light: #c27bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dcd",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 282.083,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.21888,
    "h": 313.8
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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