#A223CA#A223CA

#A223CA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 54.1% C 0.242 H 315.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A223CA
RGBrgb(162, 35, 202)
HSLhsl(286, 70%, 46%)
HSVhsv(286, 83%, 79%)
CMYKcmyk(19.8%, 82.7%, 0%, 20.8%)
CIE-LABlab(42.99, 70.99, -59.51)
CIE-LCHlch(42.99, 92.63, 320.03°)
OKLaboklab(54.06% 0.1737 -0.1681)
OKLCHoklch(54.06% 0.242 315.9)
XYZxyz(26.1603, 13.1488, 57.0256)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223CA #4BCA23
analogous
#4F23CA #A223CA #CA239F
triadic
#A223CA #CAA223 #23CAA2
tetradic
#A223CA #CA4F23 #4BCA23 #239FCA
square
#A223CA #CA4F23 #4BCA23 #239FCA
split-complementary
#A223CA #9FCA23 #23CA4F
monochromatic
#4E1162 #781A96 #A223CA #BC4AE0 #CF7FE9

Accessibility & contrast

On white

5.79
#A223CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A223CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223CA#FFFFFF#000000##FFFFFF
##A223CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#1D69C7
Tritanopia (blue-blind)
#9F4D79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a223ca;
/* rgb */ color: rgb(162, 35, 202);
/* oklch */ color: oklch(54.1% 0.242 315.9);
Tailwind
colors: {
  custom: {
    50: '#c370db',
    500: '#a223ca',
    950: '#000000',
  },
}
SCSS
$custom: #a223ca;
$custom-light: #c370db;
$custom-dark: #000000;
JSON
{
  "hex": "#a223ca",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 285.629,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.24171,
    "h": 315.9
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#A223CA
secondary
#8DD178
accent
#ED3B65
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A223CA

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

Preview Lab → · Contrast checker → · Palette generator →

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