#AF48A4#AF48A4

#AF48A4 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.174 H 331.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF48A4
RGBrgb(175, 72, 164)
HSLhsl(306, 42%, 48%)
HSVhsv(306, 59%, 69%)
CMYKcmyk(0%, 58.9%, 6.3%, 31.4%)
CIE-LABlab(47.53, 53.59, -29.87)
CIE-LCHlch(47.53, 61.36, 330.87°)
OKLaboklab(57.01% 0.1532 -0.0817)
OKLCHoklch(57.01% 0.174 331.9)
XYZxyz(26.6973, 16.4309, 36.8801)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48A4 #48AF53
analogous
#8648AF #AF48A4 #AF4870
triadic
#AF48A4 #A4AF48 #48A4AF
tetradic
#AF48A4 #AF8648 #48AF53 #4870AF
square
#AF48A4 #AF8648 #48AF53 #4870AF
split-complementary
#AF48A4 #70AF48 #48AF86
monochromatic
#582453 #84367B #AF48A4 #C470BB #D69BD0

Accessibility & contrast

On white

4.90
#AF48A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF48A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48A4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48A4#FFFFFF#000000##FFFFFF
##AF48A41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A7
Deuteranopia (green-blind)
#6476A1
Tritanopia (blue-blind)
#B6516F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af48a4;
/* rgb */ color: rgb(175, 72, 164);
/* oklch */ color: oklch(57.0% 0.174 331.9);
Tailwind
colors: {
  custom: {
    50: '#ca81bf',
    500: '#af48a4',
    950: '#000000',
  },
}
SCSS
$custom: #af48a4;
$custom-light: #ca81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af48a4",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 306.408,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.17361,
    "h": 331.9
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#AF48A4
secondary
#90C296
accent
#D26356
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF48A4

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

Preview Lab → · Contrast checker → · Palette generator →

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