#A229B6#A229B6

#A229B6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.220 H 321.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A229B6
RGBrgb(162, 41, 182)
HSLhsl(291, 63%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(11%, 77.5%, 0%, 28.6%)
CIE-LABlab(42.22, 65.65, -49.05)
CIE-LCHlch(42.22, 81.95, 323.24°)
OKLaboklab(53.1% 0.1724 -0.1374)
OKLCHoklch(53.1% 0.22 321.5)
XYZxyz(24.1358, 12.6460, 45.4165)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229B6 #3DB629
analogous
#5B29B6 #A229B6 #B62983
triadic
#A229B6 #B6A229 #29B6A2
tetradic
#A229B6 #B65B29 #3DB629 #2983B6
square
#A229B6 #B65B29 #3DB629 #2983B6
split-complementary
#A229B6 #83B629 #29B65B
monochromatic
#491252 #761E84 #A229B6 #C147D5 #D279E1

Accessibility & contrast

On white

5.95
#A229B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A229B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229B6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229B6#FFFFFF#000000##FFFFFF
##A229B61.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3C68B3
Tritanopia (blue-blind)
#A3466F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a229b6;
/* rgb */ color: rgb(162, 41, 182);
/* oklch */ color: oklch(53.1% 0.220 321.5);
Tailwind
colors: {
  custom: {
    50: '#c271cc',
    500: '#a229b6',
    950: '#000000',
  },
}
SCSS
$custom: #a229b6;
$custom-light: #c271cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a229b6",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 291.489,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.22046,
    "h": 321.5
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#A229B6
secondary
#7EC972
accent
#E64259
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A229B6

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

Preview Lab → · Contrast checker → · Palette generator →

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