#A8249B#A8249B

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

Color values

HEX#A8249B
RGBrgb(168, 36, 155)
HSLhsl(306, 65%, 40%)
HSVhsv(306, 79%, 66%)
CMYKcmyk(0%, 78.6%, 7.7%, 34.1%)
CIE-LABlab(41.14, 63.88, -34.61)
CIE-LCHlch(41.14, 72.66, 331.55°)
OKLaboklab(52.02% 0.1841 -0.0952)
OKLCHoklch(52.02% 0.207 332.7)
XYZxyz(22.6958, 11.9551, 32.1162)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8249B #24A831
analogous
#7324A8 #A8249B #A82459
triadic
#A8249B #9BA824 #249BA8
tetradic
#A8249B #A87324 #24A831 #2459A8
square
#A8249B #A87324 #24A831 #2459A8
split-complementary
#A8249B #59A824 #24A873
monochromatic
#430E3E #76196D #A8249B #D435C4 #DF68D3

Accessibility & contrast

On white

6.19
#A8249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A8249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8249B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8249B#FFFFFF#000000##FFFFFF
##A8249B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#526898
Tritanopia (blue-blind)
#B0345F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8249b;
/* rgb */ color: rgb(168, 36, 155);
/* oklch */ color: oklch(52.0% 0.207 332.7);
Tailwind
colors: {
  custom: {
    50: '#c66fb9',
    500: '#a8249b',
    950: '#000000',
  },
}
SCSS
$custom: #a8249b;
$custom-light: #c66fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8249b",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 305.909,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.20724,
    "h": 332.7
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#A8249B
secondary
#63C46D
accent
#E85140
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8249B

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

Preview Lab → · Contrast checker → · Palette generator →

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