#A8249C#A8249C

#A8249C is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.208 H 332.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A8249C
RGBrgb(168, 36, 156)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 79%, 66%)
CMYKcmyk(0%, 78.6%, 7.1%, 34.1%)
CIE-LABlab(41.20, 64.04, -35.13)
CIE-LCHlch(41.20, 73.04, 331.25°)
OKLaboklab(52.07% 0.1841 -0.0967)
OKLCHoklch(52.07% 0.208 332.3)
XYZxyz(22.7802, 11.9888, 32.5603)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8249C #24A830
analogous
#7224A8 #A8249C #A8245A
triadic
#A8249C #9CA824 #249CA8
tetradic
#A8249C #A87224 #24A830 #245AA8
square
#A8249C #A87224 #24A830 #245AA8
split-complementary
#A8249C #5AA824 #24A872
monochromatic
#430E3E #76196D #A8249C #D435C5 #DF68D4

Accessibility & contrast

On white

6.18
#A8249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A8249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8249C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8249C#FFFFFF#000000##FFFFFF
##A8249C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559F
Deuteranopia (green-blind)
#516899
Tritanopia (blue-blind)
#AF345F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8249c;
/* rgb */ color: rgb(168, 36, 156);
/* oklch */ color: oklch(52.1% 0.208 332.3);
Tailwind
colors: {
  custom: {
    50: '#c66fb9',
    500: '#a8249c',
    950: '#000000',
  },
}
SCSS
$custom: #a8249c;
$custom-light: #c66fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8249c",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 305.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.20795,
    "h": 332.3
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#A8249C
secondary
#63C46C
accent
#E84F40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8249C

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

Preview Lab → · Contrast checker → · Palette generator →

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