#A123AC#A123AC

#A123AC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.218 H 324.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A123AC
RGBrgb(161, 35, 172)
HSLhsl(295, 66%, 41%)
HSVhsv(295, 80%, 67%)
CMYKcmyk(6.4%, 79.7%, 0%, 32.5%)
CIE-LABlab(40.83, 65.46, -45.37)
CIE-LCHlch(40.83, 79.64, 325.28°)
OKLaboklab(51.88% 0.177 -0.1266)
OKLCHoklch(51.88% 0.218 324.4)
XYZxyz(22.7448, 11.7592, 40.0935)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123AC #2EAC23
analogous
#5C23AC #A123AC #AC2373
triadic
#A123AC #ACA123 #23ACA1
tetradic
#A123AC #AC5C23 #2EAC23 #2373AC
square
#A123AC #AC5C23 #2EAC23 #2373AC
split-complementary
#A123AC #73AC23 #23AC5C
monochromatic
#420E46 #711979 #A123AC #C936D6 #D769E0

Accessibility & contrast

On white

6.27
#A123AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A123AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A123AC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123AC#FFFFFF#000000##FFFFFF
##A123AC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#A43E68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a123ac;
/* rgb */ color: rgb(161, 35, 172);
/* oklch */ color: oklch(51.9% 0.218 324.4);
Tailwind
colors: {
  custom: {
    50: '#c16ec5',
    500: '#a123ac',
    950: '#000000',
  },
}
SCSS
$custom: #a123ac;
$custom-light: #c16ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a123ac",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 295.182,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.21761,
    "h": 324.4
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A123AC

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

Preview Lab → · Contrast checker → · Palette generator →

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