#A8249D#A8249D

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

Color values

HEX#A8249D
RGBrgb(168, 36, 157)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 79%, 66%)
CMYKcmyk(0%, 78.6%, 6.5%, 34.1%)
CIE-LABlab(41.25, 64.19, -35.64)
CIE-LCHlch(41.25, 73.42, 330.96°)
OKLaboklab(52.13% 0.1841 -0.0982)
OKLCHoklch(52.13% 0.209 331.9)
XYZxyz(22.8652, 12.0228, 33.0081)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8249D #24A82F
analogous
#7124A8 #A8249D #A8245B
triadic
#A8249D #9DA824 #249DA8
tetradic
#A8249D #A87124 #24A82F #245BA8
square
#A8249D #A87124 #24A82F #245BA8
split-complementary
#A8249D #5BA824 #24A871
monochromatic
#430E3F #76196E #A8249D #D435C7 #DF68D5

Accessibility & contrast

On white

6.17
#A8249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8249D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8249D#FFFFFF#000000##FFFFFF
##A8249D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#AF3560
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8249d;
/* rgb */ color: rgb(168, 36, 157);
/* oklch */ color: oklch(52.1% 0.209 331.9);
Tailwind
colors: {
  custom: {
    50: '#c66fba',
    500: '#a8249d',
    950: '#000000',
  },
}
SCSS
$custom: #a8249d;
$custom-light: #c66fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8249d",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 305,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.20866,
    "h": 331.9
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8249D

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

Preview Lab → · Contrast checker → · Palette generator →

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