#AF249F#AF249F

#AF249F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.214 H 333.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF249F
RGBrgb(175, 36, 159)
HSLhsl(307, 66%, 41%)
HSVhsv(307, 79%, 69%)
CMYKcmyk(0%, 79.4%, 9.1%, 31.4%)
CIE-LABlab(42.58, 65.99, -34.66)
CIE-LCHlch(42.58, 74.54, 332.29°)
OKLaboklab(53.35% 0.1912 -0.0952)
OKLCHoklch(53.35% 0.214 333.5)
XYZxyz(24.5683, 12.8811, 33.9865)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF249F #24AF34
analogous
#7A24AF #AF249F #AF245A
triadic
#AF249F #9FAF24 #249FAF
tetradic
#AF249F #AF7A24 #24AF34 #245AAF
square
#AF249F #AF7A24 #24AF34 #245AAF
split-complementary
#AF249F #5AAF24 #24AF7A
monochromatic
#490F43 #7C1A71 #AF249F #D63AC4 #E16DD3

Accessibility & contrast

On white

5.87
#AF249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF249F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF249F#FFFFFF#000000##FFFFFF
##AF249F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#B73461
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af249f;
/* rgb */ color: rgb(175, 36, 159);
/* oklch */ color: oklch(53.3% 0.214 333.5);
Tailwind
colors: {
  custom: {
    50: '#cb70bc',
    500: '#af249f',
    950: '#000000',
  },
}
SCSS
$custom: #af249f;
$custom-light: #cb70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af249f",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 306.906,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.21356,
    "h": 333.5
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#AF249F
secondary
#68C773
accent
#E9533F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #AF249F

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

Preview Lab → · Contrast checker → · Palette generator →

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