#A23CC4#A23CC4

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

Color values

HEX#A23CC4
RGBrgb(162, 60, 196)
HSLhsl(285, 54%, 50%)
HSVhsv(285, 69%, 77%)
CMYKcmyk(17.3%, 69.4%, 0%, 23.1%)
CIE-LABlab(45.50, 61.48, -51.98)
CIE-LCHlch(45.50, 80.51, 319.79°)
OKLaboklab(55.71% 0.1533 -0.1461)
OKLCHoklch(55.71% 0.212 316.4)
XYZxyz(26.4784, 14.8997, 53.6950)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CC4 #5EC43C
analogous
#5E3CC4 #A23CC4 #C43CA2
triadic
#A23CC4 #C4A23C #3CC4A2
tetradic
#A23CC4 #C45E3C #5EC43C #3CA2C4
square
#A23CC4 #C45E3C #5EC43C #3CA2C4
split-complementary
#A23CC4 #A2C43C #3CC45E
monochromatic
#551F67 #7B2D96 #A23CC4 #B86BD2 #CF9AE0

Accessibility & contrast

On white

5.28
#A23CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23CC4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CC4#FFFFFF#000000##FFFFFF
##A23CC41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23cc4;
/* rgb */ color: rgb(162, 60, 196);
/* oklch */ color: oklch(55.7% 0.212 316.4);
Tailwind
colors: {
  custom: {
    50: '#c17ad6',
    500: '#a23cc4',
    950: '#000000',
  },
}
SCSS
$custom: #a23cc4;
$custom-light: #c17ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cc4",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 285,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.21178,
    "h": 316.4
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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