#A229B0#A229B0

#A229B0 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.216 H 323.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A229B0
RGBrgb(162, 41, 176)
HSLhsl(294, 62%, 43%)
HSVhsv(294, 77%, 69%)
CMYKcmyk(8%, 76.7%, 0%, 31%)
CIE-LABlab(41.85, 64.59, -46.10)
CIE-LCHlch(41.85, 79.36, 324.48°)
OKLaboklab(52.72% 0.173 -0.1288)
OKLCHoklch(52.72% 0.216 323.3)
XYZxyz(23.5290, 12.4033, 42.2206)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229B0 #37B029
analogous
#5F29B0 #A229B0 #B0297A
triadic
#A229B0 #B0A229 #29B0A2
tetradic
#A229B0 #B05F29 #37B029 #297AB0
square
#A229B0 #B05F29 #37B029 #297AB0
split-complementary
#A229B0 #7AB029 #29B05F
monochromatic
#47124D #741D7E #A229B0 #C443D3 #D475DF

Accessibility & contrast

On white

6.03
#A229B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A229B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229B0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229B0#FFFFFF#000000##FFFFFF
##A229B01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#4167AD
Tritanopia (blue-blind)
#A5436C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a229b0;
/* rgb */ color: rgb(162, 41, 176);
/* oklch */ color: oklch(52.7% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#c171c8',
    500: '#a229b0',
    950: '#000000',
  },
}
SCSS
$custom: #a229b0;
$custom-light: #c171c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a229b0",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 293.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.21564,
    "h": 323.3
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#A229B0
secondary
#78C66F
accent
#E54353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A229B0

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

Preview Lab → · Contrast checker → · Palette generator →

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