#A223A9#A223A9

#A223A9 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.216 H 325.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A223A9
RGBrgb(162, 35, 169)
HSLhsl(297, 66%, 40%)
HSVhsv(297, 79%, 66%)
CMYKcmyk(4.1%, 79.3%, 0%, 33.7%)
CIE-LABlab(40.82, 65.15, -43.59)
CIE-LCHlch(40.82, 78.39, 326.21°)
OKLaboklab(51.84% 0.1783 -0.1214)
OKLCHoklch(51.84% 0.216 325.7)
XYZxyz(22.6623, 11.7496, 38.6027)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223A9 #2AA923
analogous
#5F23A9 #A223A9 #A9236D
triadic
#A223A9 #A9A223 #23A9A2
tetradic
#A223A9 #A95F23 #2AA923 #236DA9
square
#A223A9 #A95F23 #2AA923 #236DA9
split-complementary
#A223A9 #6DA923 #23A95F
monochromatic
#410E44 #711976 #A223A9 #CD34D5 #D967DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A223A9#FFFFFF#000000##FFFFFF
##A223A91.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)
#0056AC
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#A63C66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a223a9;
/* rgb */ color: rgb(162, 35, 169);
/* oklch */ color: oklch(51.8% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#c26ec3',
    500: '#a223a9',
    950: '#000000',
  },
}
SCSS
$custom: #a223a9;
$custom-light: #c26ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a223a9",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 296.866,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.21572,
    "h": 325.7
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#A223A9
secondary
#68C563
accent
#E93F48
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A223A9

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

Preview Lab → · Contrast checker → · Palette generator →

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