#A8299D#A8299D

#A8299D is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.204 H 331.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A8299D
RGBrgb(168, 41, 157)
HSLhsl(305, 61%, 41%)
HSVhsv(305, 76%, 66%)
CMYKcmyk(0%, 75.6%, 6.5%, 34.1%)
CIE-LABlab(41.76, 62.73, -34.84)
CIE-LCHlch(41.76, 71.75, 330.95°)
OKLaboklab(52.49% 0.1799 -0.0959)
OKLCHoklch(52.49% 0.204 331.9)
XYZxyz(23.0272, 12.3469, 33.0622)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8299D #29A834
analogous
#7329A8 #A8299D #A8295D
triadic
#A8299D #9DA829 #299DA8
tetradic
#A8299D #A87329 #29A834 #295DA8
square
#A8299D #A87329 #29A834 #295DA8
split-complementary
#A8299D #5DA829 #29A873
monochromatic
#461141 #771D6F #A8299D #D03EC3 #DC6FD3

Accessibility & contrast

On white

6.05
#A8299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A8299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8299D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8299D#FFFFFF#000000##FFFFFF
##A8299D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#53699A
Tritanopia (blue-blind)
#AF3861
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8299d;
/* rgb */ color: rgb(168, 41, 157);
/* oklch */ color: oklch(52.5% 0.204 331.9);
Tailwind
colors: {
  custom: {
    50: '#c671ba',
    500: '#a8299d',
    950: '#000000',
  },
}
SCSS
$custom: #a8299d;
$custom-light: #c671ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8299d",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 305.197,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.20382,
    "h": 331.9
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#A8299D
secondary
#6AC372
accent
#E45244
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A8299D

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

Preview Lab → · Contrast checker → · Palette generator →

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