#AF3AA9#AF3AA9

#AF3AA9 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.7% C 0.197 H 330.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF3AA9
RGBrgb(175, 58, 169)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 67%, 69%)
CMYKcmyk(0%, 66.9%, 3.4%, 31.4%)
CIE-LABlab(45.64, 60.34, -35.80)
CIE-LCHlch(45.64, 70.16, 329.32°)
OKLaboklab(55.71% 0.1707 -0.0986)
OKLCHoklch(55.71% 0.197 330)
XYZxyz(26.3535, 15.0066, 39.0370)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AA9 #3AAF40
analogous
#7A3AAF #AF3AA9 #AF3A6E
triadic
#AF3AA9 #A9AF3A #3AA9AF
tetradic
#AF3AA9 #AF7A3A #3AAF40 #3A6EAF
square
#AF3AA9 #AF7A3A #3AAF40 #3A6EAF
split-complementary
#AF3AA9 #6EAF3A #3AAF7A
monochromatic
#531C50 #812B7D #AF3AA9 #C95DC4 #D98BD5

Accessibility & contrast

On white

5.25
#AF3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF3AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AA9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AA9#FFFFFF#000000##FFFFFF
##AF3AA91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#B5486D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3aa9;
/* rgb */ color: rgb(175, 58, 169);
/* oklch */ color: oklch(55.7% 0.197 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ac3',
    500: '#af3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #af3aa9;
$custom-light: #ca7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3aa9",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 303.077,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.19714,
    "h": 330
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#AF3AA9
secondary
#82C385
accent
#DA554E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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