#A8229B#A8229B

#A8229B is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.209 H 332.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A8229B
RGBrgb(168, 34, 155)
HSLhsl(306, 66%, 40%)
HSVhsv(306, 80%, 66%)
CMYKcmyk(0%, 79.8%, 7.7%, 34.1%)
CIE-LABlab(40.96, 64.43, -34.90)
CIE-LCHlch(40.96, 73.28, 331.55°)
OKLaboklab(51.88% 0.1857 -0.096)
OKLCHoklch(51.88% 0.209 332.7)
XYZxyz(22.6370, 11.8374, 32.0966)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8229B #22A82F
analogous
#7222A8 #A8229B #A82258
triadic
#A8229B #9BA822 #229BA8
tetradic
#A8229B #A87222 #22A82F #2258A8
square
#A8229B #A87222 #22A82F #2258A8
split-complementary
#A8229B #58A822 #22A872
monochromatic
#420D3D #75186C #A8229B #D532C6 #E065D4

Accessibility & contrast

On white

6.24
#A8229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A8229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8229B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8229B#FFFFFF#000000##FFFFFF
##A8229B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#B0335E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8229b;
/* rgb */ color: rgb(168, 34, 155);
/* oklch */ color: oklch(51.9% 0.209 332.7);
Tailwind
colors: {
  custom: {
    50: '#c66eb9',
    500: '#a8229b',
    950: '#000000',
  },
}
SCSS
$custom: #a8229b;
$custom-light: #c66eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8229b",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 305.821,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.20903,
    "h": 332.7
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#A8229B
secondary
#61C56A
accent
#E94F3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8229B

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

Preview Lab → · Contrast checker → · Palette generator →

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