#A229A8#A229A8

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

Color values

HEX#A229A8
RGBrgb(162, 41, 168)
HSLhsl(297, 61%, 41%)
HSVhsv(297, 76%, 66%)
CMYKcmyk(3.6%, 75.6%, 0%, 34.1%)
CIE-LABlab(41.37, 63.22, -42.12)
CIE-LCHlch(41.37, 75.96, 326.33°)
OKLaboklab(52.22% 0.1734 -0.1171)
OKLCHoklch(52.22% 0.209 326)
XYZxyz(22.7607, 12.0960, 38.1741)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229A8 #2FA829
analogous
#6229A8 #A229A8 #A8296E
triadic
#A229A8 #A8A229 #29A8A2
tetradic
#A229A8 #A86229 #2FA829 #296EA8
square
#A229A8 #A86229 #2FA829 #296EA8
split-complementary
#A229A8 #6EA829 #29A862
monochromatic
#431146 #731D77 #A229A8 #C93ED0 #D76FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A229A8#FFFFFF#000000##FFFFFF
##A229A81.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)
#0058AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#A63F67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a229a8;
/* rgb */ color: rgb(162, 41, 168);
/* oklch */ color: oklch(52.2% 0.209 326.0);
Tailwind
colors: {
  custom: {
    50: '#c170c2',
    500: '#a229a8',
    950: '#000000',
  },
}
SCSS
$custom: #a229a8;
$custom-light: #c170c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a229a8",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 297.165,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.2093,
    "h": 326
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#A229A8
secondary
#6EC36A
accent
#E4444B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A229A8

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

Preview Lab → · Contrast checker → · Palette generator →

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