#A8249A#A8249A

#A8249A is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.207 H 333.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A8249A
RGBrgb(168, 36, 154)
HSLhsl(306, 65%, 40%)
HSVhsv(306, 79%, 66%)
CMYKcmyk(0%, 78.6%, 8.3%, 34.1%)
CIE-LABlab(41.09, 63.73, -34.09)
CIE-LCHlch(41.09, 72.28, 331.86°)
OKLaboklab(51.96% 0.1841 -0.0937)
OKLCHoklch(51.96% 0.207 333)
XYZxyz(22.6122, 11.9216, 31.6758)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8249A #24A832
analogous
#7424A8 #A8249A #A82458
triadic
#A8249A #9AA824 #249AA8
tetradic
#A8249A #A87424 #24A832 #2458A8
square
#A8249A #A87424 #24A832 #2458A8
split-complementary
#A8249A #58A824 #24A874
monochromatic
#430E3E #76196C #A8249A #D435C3 #DF68D2

Accessibility & contrast

On white

6.21
#A8249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A8249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8249A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8249A#FFFFFF#000000##FFFFFF
##A8249A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#B0335E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8249a;
/* rgb */ color: rgb(168, 36, 154);
/* oklch */ color: oklch(52.0% 0.207 333.0);
Tailwind
colors: {
  custom: {
    50: '#c66fb8',
    500: '#a8249a',
    950: '#000000',
  },
}
SCSS
$custom: #a8249a;
$custom-light: #c66fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8249a",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 306.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.20652,
    "h": 333
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#A8249A
secondary
#63C46E
accent
#E85240
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8249A

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

Preview Lab → · Contrast checker → · Palette generator →

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