#A423A8#A423A8

#A423A8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.216 H 326.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A423A8
RGBrgb(164, 35, 168)
HSLhsl(298, 66%, 40%)
HSVhsv(298, 79%, 66%)
CMYKcmyk(2.4%, 79.2%, 0%, 34.1%)
CIE-LABlab(41.09, 65.38, -42.53)
CIE-LCHlch(41.09, 78.00, 326.96°)
OKLaboklab(52.09% 0.1805 -0.1183)
OKLCHoklch(52.09% 0.216 326.8)
XYZxyz(22.9784, 11.9234, 38.1294)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A423A8 #27A823
analogous
#6123A8 #A423A8 #A8236A
triadic
#A423A8 #A8A423 #23A8A4
tetradic
#A423A8 #A86123 #27A823 #236AA8
square
#A423A8 #A86123 #27A823 #236AA8
split-complementary
#A423A8 #6AA823 #23A861
monochromatic
#410E43 #731875 #A423A8 #D034D5 #DC66DF

Accessibility & contrast

On white

6.20
#A423A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A423A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A423A8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A423A8#FFFFFF#000000##FFFFFF
##A423A81.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#A93B66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a423a8;
/* rgb */ color: rgb(164, 35, 168);
/* oklch */ color: oklch(52.1% 0.216 326.8);
Tailwind
colors: {
  custom: {
    50: '#c36fc2',
    500: '#a423a8',
    950: '#000000',
  },
}
SCSS
$custom: #a423a8;
$custom-light: #c36fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a423a8",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 298.195,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.21582,
    "h": 326.8
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#A423A8
secondary
#65C562
accent
#E83F44
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A423A8

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

Preview Lab → · Contrast checker → · Palette generator →

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