#A8249E#A8249E

#A8249E is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 331.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A8249E
RGBrgb(168, 36, 158)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 79%, 66%)
CMYKcmyk(0%, 78.6%, 6%, 34.1%)
CIE-LABlab(41.31, 64.34, -36.16)
CIE-LCHlch(41.31, 73.81, 330.67°)
OKLaboklab(52.19% 0.1842 -0.0997)
OKLCHoklch(52.19% 0.209 331.6)
XYZxyz(22.9509, 12.0571, 33.4596)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8249E #24A82E
analogous
#7024A8 #A8249E #A8245C
triadic
#A8249E #9EA824 #249EA8
tetradic
#A8249E #A87024 #24A82E #245CA8
square
#A8249E #A87024 #24A82E #245CA8
split-complementary
#A8249E #5CA824 #24A870
monochromatic
#430E3F #76196F #A8249E #D435C8 #DF68D6

Accessibility & contrast

On white

6.16
#A8249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A8249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8249E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8249E#FFFFFF#000000##FFFFFF
##A8249E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AF3560
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8249e;
/* rgb */ color: rgb(168, 36, 158);
/* oklch */ color: oklch(52.2% 0.209 331.6);
Tailwind
colors: {
  custom: {
    50: '#c66fbb',
    500: '#a8249e',
    950: '#000000',
  },
}
SCSS
$custom: #a8249e;
$custom-light: #c66fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8249e",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 304.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.20939,
    "h": 331.6
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#A8249E
secondary
#63C46B
accent
#E84D40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8249E

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

Preview Lab → · Contrast checker → · Palette generator →

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