#A223AC#A223AC

#A223AC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.218 H 324.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A223AC
RGBrgb(162, 35, 172)
HSLhsl(296, 66%, 41%)
HSVhsv(296, 80%, 67%)
CMYKcmyk(5.8%, 79.7%, 0%, 32.5%)
CIE-LABlab(41.00, 65.66, -45.09)
CIE-LCHlch(41.00, 79.65, 325.52°)
OKLaboklab(52.03% 0.1781 -0.1258)
OKLCHoklch(52.03% 0.218 324.8)
XYZxyz(22.9471, 11.8635, 40.1030)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223AC #2DAC23
analogous
#5D23AC #A223AC #AC2372
triadic
#A223AC #ACA223 #23ACA2
tetradic
#A223AC #AC5D23 #2DAC23 #2372AC
square
#A223AC #AC5D23 #2DAC23 #2372AC
split-complementary
#A223AC #72AC23 #23AC5D
monochromatic
#420E46 #721979 #A223AC #CA36D6 #D869E0

Accessibility & contrast

On white

6.23
#A223AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A223AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223AC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223AC#FFFFFF#000000##FFFFFF
##A223AC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#A53E68
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a223ac;
/* rgb */ color: rgb(162, 35, 172);
/* oklch */ color: oklch(52.0% 0.218 324.8);
Tailwind
colors: {
  custom: {
    50: '#c26ec5',
    500: '#a223ac',
    950: '#000000',
  },
}
SCSS
$custom: #a223ac;
$custom-light: #c26ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a223ac",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 295.62,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.21802,
    "h": 324.8
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#A223AC
secondary
#6CC664
accent
#E93F4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A223AC

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

Preview Lab → · Contrast checker → · Palette generator →

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