#A223B2#A223B2

#A223B2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.223 H 322.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A223B2
RGBrgb(162, 35, 178)
HSLhsl(293, 67%, 42%)
HSVhsv(293, 80%, 70%)
CMYKcmyk(9%, 80.3%, 0%, 30.2%)
CIE-LABlab(41.37, 66.68, -48.05)
CIE-LCHlch(41.37, 82.19, 324.22°)
OKLaboklab(52.42% 0.1775 -0.1344)
OKLCHoklch(52.42% 0.223 322.9)
XYZxyz(23.5364, 12.0992, 43.2065)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A223B2 #33B223
analogous
#5B23B2 #A223B2 #B2237B
triadic
#A223B2 #B2A223 #23B2A2
tetradic
#A223B2 #B25B23 #33B223 #237BB2
square
#A223B2 #B25B23 #33B223 #237BB2
split-complementary
#A223B2 #7BB223 #23B25B
monochromatic
#450F4C #73197F #A223B2 #C73AD8 #D56DE2

Accessibility & contrast

On white

6.14
#A223B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A223B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A223B2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A223B2#FFFFFF#000000##FFFFFF
##A223B21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#A4416C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a223b2;
/* rgb */ color: rgb(162, 35, 178);
/* oklch */ color: oklch(52.4% 0.223 322.9);
Tailwind
colors: {
  custom: {
    50: '#c26fca',
    500: '#a223b2',
    950: '#000000',
  },
}
SCSS
$custom: #a223b2;
$custom-light: #c26fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a223b2",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 293.287,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.22267,
    "h": 322.9
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#A223B2
secondary
#73C968
accent
#EA3E51
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A223B2

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

Preview Lab → · Contrast checker → · Palette generator →

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