#A223A7#A223A7

#A223A7 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.214 H 326.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A223A7
RGBrgb(162, 35, 167)
HSLhsl(298, 65%, 40%)
HSVhsv(298, 79%, 65%)
CMYKcmyk(3%, 79%, 0%, 34.5%)
CIE-LABlab(40.70, 64.82, -42.59)
CIE-LCHlch(40.70, 77.56, 326.69°)
OKLaboklab(51.72% 0.1784 -0.1185)
OKLCHoklch(51.72% 0.214 326.4)
XYZxyz(22.4760, 11.6751, 37.6214)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223A7 #28A723
analogous
#6023A7 #A223A7 #A7236A
triadic
#A223A7 #A7A223 #23A7A2
tetradic
#A223A7 #A76023 #28A723 #236AA7
square
#A223A7 #A76023 #28A723 #236AA7
split-complementary
#A223A7 #6AA723 #23A760
monochromatic
#400E42 #711874 #A223A7 #CE33D4 #DA66DF

Accessibility & contrast

On white

6.30
#A223A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A223A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223A7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223A7#FFFFFF#000000##FFFFFF
##A223A71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4565A4
Tritanopia (blue-blind)
#A63B65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a223a7;
/* rgb */ color: rgb(162, 35, 167);
/* oklch */ color: oklch(51.7% 0.214 326.4);
Tailwind
colors: {
  custom: {
    50: '#c26ec2',
    500: '#a223a7',
    950: '#000000',
  },
}
SCSS
$custom: #a223a7;
$custom-light: #c26ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a223a7",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 297.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.21419,
    "h": 326.4
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#A223A7
secondary
#65C461
accent
#E83F46
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A223A7

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

Preview Lab → · Contrast checker → · Palette generator →

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