#A23CC8#A23CC8

#A23CC8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.215 H 315.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A23CC8
RGBrgb(162, 60, 200)
HSLhsl(284, 56%, 51%)
HSVhsv(284, 70%, 78%)
CMYKcmyk(19%, 70%, 0%, 21.6%)
CIE-LABlab(45.75, 62.28, -53.90)
CIE-LCHlch(45.75, 82.36, 319.13°)
OKLaboklab(55.97% 0.153 -0.1517)
OKLCHoklch(55.97% 0.215 315.2)
XYZxyz(26.9398, 15.0842, 56.1248)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CC8 #62C83C
analogous
#5C3CC8 #A23CC8 #C83CA8
triadic
#A23CC8 #C8A23C #3CC8A2
tetradic
#A23CC8 #C85C3C #62C83C #3CA8C8
square
#A23CC8 #C85C3C #62C83C #3CA8C8
split-complementary
#A23CC8 #A8C83C #3CC85C
monochromatic
#561E6B #7D2C9B #A23CC8 #B96CD5 #D09BE3

Accessibility & contrast

On white

5.23
#A23CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23CC8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CC8#FFFFFF#000000##FFFFFF
##A23CC81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#9F597E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23cc8;
/* rgb */ color: rgb(162, 60, 200);
/* oklch */ color: oklch(56.0% 0.215 315.2);
Tailwind
colors: {
  custom: {
    50: '#c27ad9',
    500: '#a23cc8',
    950: '#000000',
  },
}
SCSS
$custom: #a23cc8;
$custom-light: #c27ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cc8",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 283.714,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.21546,
    "h": 315.2
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#A23CC8
secondary
#A2CF91
accent
#DF4971
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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