#A0229B#A0229B

#A0229B is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.205 H 329.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A0229B
RGBrgb(160, 34, 155)
HSLhsl(302, 65%, 38%)
HSVhsv(302, 79%, 63%)
CMYKcmyk(0%, 78.8%, 3.1%, 37.3%)
CIE-LABlab(39.56, 62.73, -37.21)
CIE-LCHlch(39.56, 72.94, 329.33°)
OKLaboklab(50.62% 0.1775 -0.1029)
OKLCHoklch(50.62% 0.205 329.9)
XYZxyz(20.9855, 10.9859, 32.0192)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0229B #22A027
analogous
#6622A0 #A0229B #A0225C
triadic
#A0229B #9BA022 #229BA0
tetradic
#A0229B #A06622 #22A027 #225CA0
square
#A0229B #A06622 #22A027 #225CA0
split-complementary
#A0229B #5CA022 #22A066
monochromatic
#3B0D39 #6E176A #A0229B #D22DCC #DD5FD8

Accessibility & contrast

On white

6.57
#A0229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A0229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0229B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0229B#FFFFFF#000000##FFFFFF
##A0229B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#4A6398
Tritanopia (blue-blind)
#A6355E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0229b;
/* rgb */ color: rgb(160, 34, 155);
/* oklch */ color: oklch(50.6% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#c06db9',
    500: '#a0229b',
    950: '#000000',
  },
}
SCSS
$custom: #a0229b;
$custom-light: #c06db9;
$custom-dark: #000000;
JSON
{
  "hex": "#a0229b",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 302.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.20516,
    "h": 329.9
  },
  "luminance": 0.10984
}

Semantic roles & 50–950 ramp

primary
#A0229B
secondary
#5CC260
accent
#E84740
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A0229B

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

Preview Lab → · Contrast checker → · Palette generator →

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