#AF249A#AF249A

#AF249A is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.210 H 335.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF249A
RGBrgb(175, 36, 154)
HSLhsl(309, 66%, 41%)
HSVhsv(309, 79%, 69%)
CMYKcmyk(0%, 79.4%, 12%, 31.4%)
CIE-LABlab(42.32, 65.26, -32.06)
CIE-LCHlch(42.32, 72.71, 333.83°)
OKLaboklab(53.08% 0.1909 -0.0877)
OKLCHoklch(53.08% 0.21 335.3)
XYZxyz(24.1432, 12.7110, 31.7475)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF249A #24AF39
analogous
#7F24AF #AF249A #AF2455
triadic
#AF249A #9AAF24 #249AAF
tetradic
#AF249A #AF7F24 #24AF39 #2455AF
square
#AF249A #AF7F24 #24AF39 #2455AF
split-complementary
#AF249A #55AF24 #24AF7F
monochromatic
#490F41 #7C1A6D #AF249A #D63ABF #E16DCF

Accessibility & contrast

On white

5.93
#AF249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF249A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF249A#FFFFFF#000000##FFFFFF
##AF249A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#B8315E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af249a;
/* rgb */ color: rgb(175, 36, 154);
/* oklch */ color: oklch(53.1% 0.210 335.3);
Tailwind
colors: {
  custom: {
    50: '#cb70b8',
    500: '#af249a',
    950: '#000000',
  },
}
SCSS
$custom: #af249a;
$custom-light: #cb70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af249a",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 309.065,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.21011,
    "h": 335.3
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#AF249A
secondary
#68C776
accent
#E9593F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF249A

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

Preview Lab → · Contrast checker → · Palette generator →

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