#A223A4#A223A4

#A223A4 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.212 H 327.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A223A4
RGBrgb(162, 35, 164)
HSLhsl(299, 65%, 39%)
HSVhsv(299, 79%, 64%)
CMYKcmyk(1.2%, 78.7%, 0%, 35.7%)
CIE-LABlab(40.52, 64.32, -41.08)
CIE-LCHlch(40.52, 76.32, 327.44°)
OKLaboklab(51.54% 0.1786 -0.1141)
OKLCHoklch(51.54% 0.212 327.4)
XYZxyz(22.2018, 11.5654, 36.1777)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223A4 #25A423
analogous
#6223A4 #A223A4 #A42366
triadic
#A223A4 #A4A223 #23A4A2
tetradic
#A223A4 #A46223 #25A423 #2366A4
square
#A223A4 #A46223 #25A423 #2366A4
split-complementary
#A223A4 #66A423 #23A462
monochromatic
#3E0D3F #701872 #A223A4 #D131D3 #DC64DE

Accessibility & contrast

On white

6.34
#A223A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A223A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223A4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223A4#FFFFFF#000000##FFFFFF
##A223A41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#A73A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a223a4;
/* rgb */ color: rgb(162, 35, 164);
/* oklch */ color: oklch(51.5% 0.212 327.4);
Tailwind
colors: {
  custom: {
    50: '#c16ebf',
    500: '#a223a4',
    950: '#000000',
  },
}
SCSS
$custom: #a223a4;
$custom-light: #c16ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a223a4",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 299.07,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.21191,
    "h": 327.4
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#A223A4
secondary
#61C360
accent
#E84043
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A223A4

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

Preview Lab → · Contrast checker → · Palette generator →

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