#A8299B#A8299B

#A8299B is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 332.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A8299B
RGBrgb(168, 41, 155)
HSLhsl(306, 61%, 41%)
HSVhsv(306, 76%, 66%)
CMYKcmyk(0%, 75.6%, 7.7%, 34.1%)
CIE-LABlab(41.66, 62.42, -33.80)
CIE-LCHlch(41.66, 70.98, 331.56°)
OKLaboklab(52.38% 0.1798 -0.0929)
OKLCHoklch(52.38% 0.202 332.7)
XYZxyz(22.8579, 12.2792, 32.1702)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8299B #29A836
analogous
#7529A8 #A8299B #A8295B
triadic
#A8299B #9BA829 #299BA8
tetradic
#A8299B #A87529 #29A836 #295BA8
square
#A8299B #A87529 #29A836 #295BA8
split-complementary
#A8299B #5BA829 #29A875
monochromatic
#461140 #771D6E #A8299B #D03EC1 #DC6FD1

Accessibility & contrast

On white

6.08
#A8299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A8299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8299B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8299B#FFFFFF#000000##FFFFFF
##A8299B1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579E
Deuteranopia (green-blind)
#546998
Tritanopia (blue-blind)
#AF3760
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8299b;
/* rgb */ color: rgb(168, 41, 155);
/* oklch */ color: oklch(52.4% 0.202 332.7);
Tailwind
colors: {
  custom: {
    50: '#c671b9',
    500: '#a8299b',
    950: '#000000',
  },
}
SCSS
$custom: #a8299b;
$custom-light: #c671b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8299b",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 306.142,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.20237,
    "h": 332.7
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#A8299B
secondary
#6AC373
accent
#E45444
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A8299B

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

Preview Lab → · Contrast checker → · Palette generator →

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