#AF3AC5#AF3AC5

#AF3AC5 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.220 H 320.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3AC5
RGBrgb(175, 58, 197)
HSLhsl(291, 55%, 50%)
HSVhsv(291, 71%, 77%)
CMYKcmyk(11.2%, 70.6%, 0%, 22.7%)
CIE-LABlab(47.20, 65.23, -49.73)
CIE-LCHlch(47.20, 82.02, 322.68°)
OKLaboklab(57.34% 0.1708 -0.1391)
OKLCHoklch(57.34% 0.22 320.8)
XYZxyz(29.2691, 16.1728, 54.3925)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AC5 #50C53A
analogous
#6A3AC5 #AF3AC5 #C53A95
triadic
#AF3AC5 #C5AF3A #3AC5AF
tetradic
#AF3AC5 #C56A3A #50C53A #3A95C5
square
#AF3AC5 #C56A3A #50C53A #3A95C5
split-complementary
#AF3AC5 #95C53A #3AC56A
monochromatic
#5B1E66 #852C96 #AF3AC5 #C269D3 #D599E1

Accessibility & contrast

On white

4.96
#AF3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AC5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AC5#FFFFFF#000000##FFFFFF
##AF3AC51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#4974C2
Tritanopia (blue-blind)
#B0547C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ac5;
/* rgb */ color: rgb(175, 58, 197);
/* oklch */ color: oklch(57.3% 0.220 320.8);
Tailwind
colors: {
  custom: {
    50: '#cb7bd7',
    500: '#af3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #af3ac5;
$custom-light: #cb7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ac5",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 290.504,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.22028,
    "h": 320.8
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#AF3AC5
secondary
#98CD8E
accent
#DE4A61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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