#A23DC2#A23DC2

#A23DC2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.209 H 316.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A23DC2
RGBrgb(162, 61, 194)
HSLhsl(286, 52%, 50%)
HSVhsv(286, 69%, 76%)
CMYKcmyk(16.5%, 68.6%, 0%, 23.9%)
CIE-LABlab(45.52, 60.68, -50.79)
CIE-LCHlch(45.52, 79.13, 320.07°)
OKLaboklab(55.69% 0.1524 -0.1426)
OKLCHoklch(55.69% 0.209 316.9)
XYZxyz(26.3052, 14.9150, 52.5217)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DC2 #5DC23D
analogous
#603DC2 #A23DC2 #C23D9F
triadic
#A23DC2 #C2A23D #3DC2A2
tetradic
#A23DC2 #C2603D #5DC23D #3D9FC2
square
#A23DC2 #C2603D #5DC23D #3D9FC2
split-complementary
#A23DC2 #9FC23D #3DC260
monochromatic
#542065 #7B2E93 #A23DC2 #B86CD1 #CF9ADF

Accessibility & contrast

On white

5.27
#A23DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A23DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DC2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DC2#FFFFFF#000000##FFFFFF
##A23DC21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#A0577B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23dc2;
/* rgb */ color: rgb(162, 61, 194);
/* oklch */ color: oklch(55.7% 0.209 316.9);
Tailwind
colors: {
  custom: {
    50: '#c17bd5',
    500: '#a23dc2',
    950: '#000000',
  },
}
SCSS
$custom: #a23dc2;
$custom-light: #c17bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dc2",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 285.564,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.20872,
    "h": 316.9
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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