#A23DC0#A23DC0

#A23DC0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.207 H 317.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A23DC0
RGBrgb(162, 61, 192)
HSLhsl(286, 52%, 50%)
HSVhsv(286, 68%, 75%)
CMYKcmyk(15.6%, 68.2%, 0%, 24.7%)
CIE-LABlab(45.39, 60.28, -49.82)
CIE-LCHlch(45.39, 78.21, 320.43°)
OKLaboklab(55.56% 0.1525 -0.1398)
OKLCHoklch(55.56% 0.207 317.5)
XYZxyz(26.0821, 14.8257, 51.3467)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DC0 #5BC03D
analogous
#613DC0 #A23DC0 #C03D9C
triadic
#A23DC0 #C0A23D #3DC0A2
tetradic
#A23DC0 #C0613D #5BC03D #3D9CC0
square
#A23DC0 #C0613D #5BC03D #3D9CC0
split-complementary
#A23DC0 #9CC03D #3DC061
monochromatic
#541F63 #7B2E92 #A23DC0 #B96AD0 #CF99DF

Accessibility & contrast

On white

5.30
#A23DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A23DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DC0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DC0#FFFFFF#000000##FFFFFF
##A23DC01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#416FBD
Tritanopia (blue-blind)
#A1567A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23dc0;
/* rgb */ color: rgb(162, 61, 192);
/* oklch */ color: oklch(55.6% 0.207 317.5);
Tailwind
colors: {
  custom: {
    50: '#c17bd4',
    500: '#a23dc0',
    950: '#000000',
  },
}
SCSS
$custom: #a23dc0;
$custom-light: #c17bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dc0",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 286.26,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.20689,
    "h": 317.5
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#A23DC0
secondary
#9CCA8E
accent
#DB4D6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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