#A23DC6#A23DC6

#A23DC6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.212 H 315.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A23DC6
RGBrgb(162, 61, 198)
HSLhsl(284, 55%, 51%)
HSVhsv(284, 69%, 78%)
CMYKcmyk(18.2%, 69.2%, 0%, 22.4%)
CIE-LABlab(45.77, 61.47, -52.71)
CIE-LCHlch(45.77, 80.98, 319.39°)
OKLaboklab(55.94% 0.1521 -0.1483)
OKLCHoklch(55.94% 0.212 315.7)
XYZxyz(26.7605, 15.0971, 54.9195)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DC6 #61C63D
analogous
#5D3DC6 #A23DC6 #C63DA5
triadic
#A23DC6 #C6A23D #3DC6A2
tetradic
#A23DC6 #C65D3D #61C63D #3DA5C6
square
#A23DC6 #C65D3D #61C63D #3DA5C6
split-complementary
#A23DC6 #A5C63D #3DC65D
monochromatic
#561F6A #7D2D99 #A23DC6 #B96CD4 #CF9CE2

Accessibility & contrast

On white

5.22
#A23DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A23DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DC6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DC6#FFFFFF#000000##FFFFFF
##A23DC61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#3B6FC3
Tritanopia (blue-blind)
#9F587D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23dc6;
/* rgb */ color: rgb(162, 61, 198);
/* oklch */ color: oklch(55.9% 0.212 315.7);
Tailwind
colors: {
  custom: {
    50: '#c17bd8',
    500: '#a23dc6',
    950: '#000000',
  },
}
SCSS
$custom: #a23dc6;
$custom-light: #c17bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dc6",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 284.234,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.21241,
    "h": 315.7
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#A23DC6
secondary
#A1CE91
accent
#DE4A71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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