#A8249F#A8249F

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

Color values

HEX#A8249F
RGBrgb(168, 36, 159)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 79%, 66%)
CMYKcmyk(0%, 78.6%, 5.4%, 34.1%)
CIE-LABlab(41.36, 64.50, -36.67)
CIE-LCHlch(41.36, 74.20, 330.38°)
OKLaboklab(52.24% 0.1842 -0.1011)
OKLCHoklch(52.24% 0.21 331.2)
XYZxyz(23.0373, 12.0917, 33.9148)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8249F #24A82D
analogous
#6F24A8 #A8249F #A8245D
triadic
#A8249F #9FA824 #249FA8
tetradic
#A8249F #A86F24 #24A82D #245DA8
square
#A8249F #A86F24 #24A82D #245DA8
split-complementary
#A8249F #5DA824 #24A86F
monochromatic
#430E40 #76196F #A8249F #D435C9 #DF68D6

Accessibility & contrast

On white

6.14
#A8249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A8249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8249F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8249F#FFFFFF#000000##FFFFFF
##A8249F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AF3661
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8249f;
/* rgb */ color: rgb(168, 36, 159);
/* oklch */ color: oklch(52.2% 0.210 331.2);
Tailwind
colors: {
  custom: {
    50: '#c66fbc',
    500: '#a8249f',
    950: '#000000',
  },
}
SCSS
$custom: #a8249f;
$custom-light: #c66fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8249f",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 304.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.21011,
    "h": 331.2
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#A8249F
secondary
#63C46A
accent
#E84C40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8249F

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

Preview Lab → · Contrast checker → · Palette generator →

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