#A0229F#A0229F

#A0229F is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.208 H 328.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A0229F
RGBrgb(160, 34, 159)
HSLhsl(300, 65%, 38%)
HSVhsv(300, 79%, 63%)
CMYKcmyk(0%, 78.8%, 0.6%, 37.3%)
CIE-LABlab(39.79, 63.38, -39.26)
CIE-LCHlch(39.79, 74.55, 328.22°)
OKLaboklab(50.86% 0.1774 -0.1088)
OKLCHoklch(50.86% 0.208 328.5)
XYZxyz(21.3270, 11.1225, 33.8177)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0229F #22A023
analogous
#6222A0 #A0229F #A02260
triadic
#A0229F #9FA022 #229FA0
tetradic
#A0229F #A06222 #22A023 #2260A0
square
#A0229F #A06222 #22A023 #2260A0
split-complementary
#A0229F #60A022 #22A062
monochromatic
#3B0D3B #6E176D #A0229F #D22DD1 #DD5FDC

Accessibility & contrast

On white

6.51
#A0229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A0229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0229F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0229F#FFFFFF#000000##FFFFFF
##A0229F1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A53760
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a0229f;
/* rgb */ color: rgb(160, 34, 159);
/* oklch */ color: oklch(50.9% 0.208 328.5);
Tailwind
colors: {
  custom: {
    50: '#c06dbc',
    500: '#a0229f',
    950: '#000000',
  },
}
SCSS
$custom: #a0229f;
$custom-light: #c06dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a0229f",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 300.476,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.20814,
    "h": 328.5
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#A0229F
secondary
#5CC25D
accent
#E84140
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A0229F

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

Preview Lab → · Contrast checker → · Palette generator →

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