#A23CC2#A23CC2

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

Color values

HEX#A23CC2
RGBrgb(162, 60, 194)
HSLhsl(286, 53%, 50%)
HSVhsv(286, 69%, 76%)
CMYKcmyk(16.5%, 69.1%, 0%, 23.9%)
CIE-LABlab(45.37, 61.09, -51.02)
CIE-LCHlch(45.37, 79.59, 320.13°)
OKLaboklab(55.58% 0.1535 -0.1433)
OKLCHoklch(55.58% 0.21 317)
XYZxyz(26.2523, 14.8092, 52.5041)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CC2 #5CC23C
analogous
#5F3CC2 #A23CC2 #C23C9F
triadic
#A23CC2 #C2A23C #3CC2A2
tetradic
#A23CC2 #C25F3C #5CC23C #3C9FC2
square
#A23CC2 #C25F3C #5CC23C #3C9FC2
split-complementary
#A23CC2 #9FC23C #3CC25F
monochromatic
#541F65 #7B2E93 #A23CC2 #B86AD1 #CF99DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23CC2#FFFFFF#000000##FFFFFF
##A23CC21.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)
#0065C6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#A0567B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23cc2;
/* rgb */ color: rgb(162, 60, 194);
/* oklch */ color: oklch(55.6% 0.210 317.0);
Tailwind
colors: {
  custom: {
    50: '#c17ad5',
    500: '#a23cc2',
    950: '#000000',
  },
}
SCSS
$custom: #a23cc2;
$custom-light: #c17ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cc2",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 285.672,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.20996,
    "h": 317
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#A23CC2
secondary
#9DCB8F
accent
#DC4C6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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