#A223A6#A223A6

#A223A6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.213 H 326.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A223A6
RGBrgb(162, 35, 166)
HSLhsl(298, 65%, 39%)
HSVhsv(298, 79%, 65%)
CMYKcmyk(2.4%, 78.9%, 0%, 34.9%)
CIE-LABlab(40.64, 64.65, -42.09)
CIE-LCHlch(40.64, 77.15, 326.94°)
OKLaboklab(51.66% 0.1785 -0.117)
OKLCHoklch(51.66% 0.213 326.7)
XYZxyz(22.3839, 11.6382, 37.1364)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223A6 #27A623
analogous
#6123A6 #A223A6 #A62369
triadic
#A223A6 #A6A223 #23A6A2
tetradic
#A223A6 #A66123 #27A623 #2369A6
square
#A223A6 #A66123 #27A623 #2369A6
split-complementary
#A223A6 #69A623 #23A661
monochromatic
#3F0E41 #711873 #A223A6 #CF32D4 #DB65DF

Accessibility & contrast

On white

6.31
#A223A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A223A6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223A6#FFFFFF#000000##FFFFFF
##A223A61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#A73B65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a223a6;
/* rgb */ color: rgb(162, 35, 166);
/* oklch */ color: oklch(51.7% 0.213 326.7);
Tailwind
colors: {
  custom: {
    50: '#c26ec1',
    500: '#a223a6',
    950: '#000000',
  },
}
SCSS
$custom: #a223a6;
$custom-light: #c26ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a223a6",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 298.168,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.21343,
    "h": 326.7
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#A223A6
secondary
#64C461
accent
#E84045
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A223A6

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

Preview Lab → · Contrast checker → · Palette generator →

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