#AF2DA9#AF2DA9

#AF2DA9 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.212 H 330.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF2DA9
RGBrgb(175, 45, 169)
HSLhsl(303, 59%, 43%)
HSVhsv(303, 74%, 69%)
CMYKcmyk(0%, 74.3%, 3.4%, 31.4%)
CIE-LABlab(44.03, 64.91, -38.35)
CIE-LCHlch(44.03, 75.40, 329.42°)
OKLaboklab(54.55% 0.1838 -0.1059)
OKLCHoklch(54.55% 0.212 330.1)
XYZxyz(25.7789, 13.8573, 38.8454)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DA9 #2DAF33
analogous
#742DAF #AF2DA9 #AF2D68
triadic
#AF2DA9 #A9AF2D #2DA9AF
tetradic
#AF2DA9 #AF742D #2DAF33 #2D68AF
square
#AF2DA9 #AF742D #2DAF33 #2D68AF
split-complementary
#AF2DA9 #68AF2D #2DAF74
monochromatic
#4E144B #7E207A #AF2DA9 #D049CA #DD7AD8

Accessibility & contrast

On white

5.57
#AF2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DA9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DA9#FFFFFF#000000##FFFFFF
##AF2DA91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#B63F69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2da9;
/* rgb */ color: rgb(175, 45, 169);
/* oklch */ color: oklch(54.6% 0.212 330.1);
Tailwind
colors: {
  custom: {
    50: '#cb74c3',
    500: '#af2da9',
    950: '#000000',
  },
}
SCSS
$custom: #af2da9;
$custom-light: #cb74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2da9",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 302.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.21215,
    "h": 330.1
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#AF2DA9
secondary
#73C577
accent
#E24D46
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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