#A0229E#A0229E

#A0229E is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.207 H 328.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A0229E
RGBrgb(160, 34, 158)
HSLhsl(301, 65%, 38%)
HSVhsv(301, 79%, 63%)
CMYKcmyk(0%, 78.8%, 1.2%, 37.3%)
CIE-LABlab(39.73, 63.21, -38.75)
CIE-LCHlch(39.73, 74.15, 328.49°)
OKLaboklab(50.8% 0.1774 -0.1074)
OKLCHoklch(50.8% 0.207 328.8)
XYZxyz(21.2406, 11.0879, 33.3626)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0229E #22A024
analogous
#6322A0 #A0229E #A0225F
triadic
#A0229E #9EA022 #229EA0
tetradic
#A0229E #A06322 #22A024 #225FA0
square
#A0229E #A06322 #22A024 #225FA0
split-complementary
#A0229E #5FA022 #22A063
monochromatic
#3B0D3A #6E176C #A0229E #D22DD0 #DD5FDB

Accessibility & contrast

On white

6.53
#A0229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0229E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0229E#FFFFFF#000000##FFFFFF
##A0229E1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#A63760
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a0229e;
/* rgb */ color: rgb(160, 34, 158);
/* oklch */ color: oklch(50.8% 0.207 328.8);
Tailwind
colors: {
  custom: {
    50: '#c06dbb',
    500: '#a0229e',
    950: '#000000',
  },
}
SCSS
$custom: #a0229e;
$custom-light: #c06dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a0229e",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 300.952,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.20739,
    "h": 328.8
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#A0229E
secondary
#5CC25E
accent
#E84340
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A0229E

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

Preview Lab → · Contrast checker → · Palette generator →

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