#A224B2#A224B2

#A224B2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.222 H 322.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A224B2
RGBrgb(162, 36, 178)
HSLhsl(293, 66%, 42%)
HSVhsv(293, 80%, 70%)
CMYKcmyk(9%, 79.8%, 0%, 30.2%)
CIE-LABlab(41.47, 66.41, -47.90)
CIE-LCHlch(41.47, 81.88, 324.20°)
OKLaboklab(52.48% 0.1768 -0.134)
OKLCHoklch(52.48% 0.222 322.8)
XYZxyz(23.5663, 12.1589, 43.2165)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A224B2 #34B224
analogous
#5B24B2 #A224B2 #B2247B
triadic
#A224B2 #B2A224 #24B2A2
tetradic
#A224B2 #B25B24 #34B224 #247BB2
square
#A224B2 #B25B24 #34B224 #247BB2
split-complementary
#A224B2 #7BB224 #24B25B
monochromatic
#450F4C #741A7F #A224B2 #C63CD8 #D56FE2

Accessibility & contrast

On white

6.12
#A224B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A224B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A224B2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A224B2#FFFFFF#000000##FFFFFF
##A224B21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a224b2;
/* rgb */ color: rgb(162, 36, 178);
/* oklch */ color: oklch(52.5% 0.222 322.8);
Tailwind
colors: {
  custom: {
    50: '#c26fca',
    500: '#a224b2',
    950: '#000000',
  },
}
SCSS
$custom: #a224b2;
$custom-light: #c26fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a224b2",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 293.239,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.22182,
    "h": 322.8
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#A224B2
secondary
#74C869
accent
#E93F52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A224B2

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

Preview Lab → · Contrast checker → · Palette generator →

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