#A23DC3#A23DC3

#A23DC3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.210 H 316.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A23DC3
RGBrgb(162, 61, 195)
HSLhsl(285, 53%, 50%)
HSVhsv(285, 69%, 76%)
CMYKcmyk(16.9%, 68.7%, 0%, 23.5%)
CIE-LABlab(45.58, 60.88, -51.27)
CIE-LCHlch(45.58, 79.59, 319.90°)
OKLaboklab(55.75% 0.1523 -0.144)
OKLCHoklch(55.75% 0.21 316.6)
XYZxyz(26.4179, 14.9600, 53.1152)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DC3 #5EC33D
analogous
#5F3DC3 #A23DC3 #C33DA1
triadic
#A23DC3 #C3A23D #3DC3A2
tetradic
#A23DC3 #C35F3D #5EC33D #3DA1C3
square
#A23DC3 #C35F3D #5EC33D #3DA1C3
split-complementary
#A23DC3 #A1C33D #3DC35F
monochromatic
#552066 #7B2E95 #A23DC3 #B86CD1 #CF9AE0

Accessibility & contrast

On white

5.26
#A23DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A23DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DC3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DC3#FFFFFF#000000##FFFFFF
##A23DC31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#3E6FC0
Tritanopia (blue-blind)
#A0577C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23dc3;
/* rgb */ color: rgb(162, 61, 195);
/* oklch */ color: oklch(55.8% 0.210 316.6);
Tailwind
colors: {
  custom: {
    50: '#c17bd6',
    500: '#a23dc3',
    950: '#000000',
  },
}
SCSS
$custom: #a23dc3;
$custom-light: #c17bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dc3",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 285.224,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.20964,
    "h": 316.6
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#A23DC3
secondary
#9FCC90
accent
#DC4C6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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