#A23DCF#A23DCF

#A23DCF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.221 H 313.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A23DCF
RGBrgb(162, 61, 207)
HSLhsl(282, 60%, 53%)
HSVhsv(282, 71%, 81%)
CMYKcmyk(21.7%, 70.5%, 0%, 18.8%)
CIE-LABlab(46.34, 63.29, -56.98)
CIE-LCHlch(46.34, 85.16, 318.00°)
OKLaboklab(56.54% 0.1513 -0.1608)
OKLCHoklch(56.54% 0.221 313.3)
XYZxyz(27.8295, 15.5247, 60.5500)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DCF #6ACF3D
analogous
#593DCF #A23DCF #CF3DB3
triadic
#A23DCF #CFA23D #3DCFA2
tetradic
#A23DCF #CF593D #6ACF3D #3DB3CF
square
#A23DCF #CF593D #6ACF3D #3DB3CF
split-complementary
#A23DCF #B3CF3D #3DCF59
monochromatic
#5A1D75 #7F29A6 #A23DCF #BA6EDB #D19FE7

Accessibility & contrast

On white

5.12
#A23DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A23DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DCF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DCF#FFFFFF#000000##FFFFFF
##A23DCF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#9D5C82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23dcf;
/* rgb */ color: rgb(162, 61, 207);
/* oklch */ color: oklch(56.5% 0.221 313.3);
Tailwind
colors: {
  custom: {
    50: '#c27bde',
    500: '#a23dcf',
    950: '#000000',
  },
}
SCSS
$custom: #a23dcf;
$custom-light: #c27bde;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dcf",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 281.507,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.22075,
    "h": 313.3
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#A23DCF
secondary
#A8D494
accent
#E34475
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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