#A0229C#A0229C

#A0229C is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.206 H 329.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A0229C
RGBrgb(160, 34, 156)
HSLhsl(302, 65%, 38%)
HSVhsv(302, 79%, 63%)
CMYKcmyk(0%, 78.8%, 2.5%, 37.3%)
CIE-LABlab(39.61, 62.89, -37.73)
CIE-LCHlch(39.61, 73.34, 329.04°)
OKLaboklab(50.68% 0.1775 -0.1044)
OKLCHoklch(50.68% 0.206 329.5)
XYZxyz(21.0698, 11.0196, 32.4633)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0229C #22A026
analogous
#6522A0 #A0229C #A0225D
triadic
#A0229C #9CA022 #229CA0
tetradic
#A0229C #A06522 #22A026 #225DA0
square
#A0229C #A06522 #22A026 #225DA0
split-complementary
#A0229C #5DA022 #22A065
monochromatic
#3B0D3A #6E176B #A0229C #D22DCD #DD5FD9

Accessibility & contrast

On white

6.56
#A0229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0229C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0229C#FFFFFF#000000##FFFFFF
##A0229C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07539F
Deuteranopia (green-blind)
#496399
Tritanopia (blue-blind)
#A6365F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0229c;
/* rgb */ color: rgb(160, 34, 156);
/* oklch */ color: oklch(50.7% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#c06dba',
    500: '#a0229c',
    950: '#000000',
  },
}
SCSS
$custom: #a0229c;
$custom-light: #c06dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a0229c",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 301.905,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.2059,
    "h": 329.5
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#A0229C
secondary
#5CC25F
accent
#E84540
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A0229C

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

Preview Lab → · Contrast checker → · Palette generator →

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