#AF48A3#AF48A3

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

Color values

HEX#AF48A3
RGBrgb(175, 72, 163)
HSLhsl(307, 42%, 48%)
HSVhsv(307, 59%, 69%)
CMYKcmyk(0%, 58.9%, 6.9%, 31.4%)
CIE-LABlab(47.49, 53.43, -29.35)
CIE-LCHlch(47.49, 60.96, 331.22°)
OKLaboklab(56.96% 0.1531 -0.0802)
OKLCHoklch(56.96% 0.173 332.3)
XYZxyz(26.6074, 16.3949, 36.4064)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48A3 #48AF54
analogous
#8748AF #AF48A3 #AF486F
triadic
#AF48A3 #A3AF48 #48A3AF
tetradic
#AF48A3 #AF8748 #48AF54 #486FAF
square
#AF48A3 #AF8748 #48AF54 #486FAF
split-complementary
#AF48A3 #6FAF48 #48AF87
monochromatic
#582452 #84367B #AF48A3 #C470BA #D69BCF

Accessibility & contrast

On white

4.91
#AF48A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF48A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48A3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48A3#FFFFFF#000000##FFFFFF
##AF48A31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#B6506F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af48a3;
/* rgb */ color: rgb(175, 72, 163);
/* oklch */ color: oklch(57.0% 0.173 332.3);
Tailwind
colors: {
  custom: {
    50: '#ca81be',
    500: '#af48a3',
    950: '#000000',
  },
}
SCSS
$custom: #af48a3;
$custom-light: #ca81be;
$custom-dark: #000000;
JSON
{
  "hex": "#af48a3",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 306.99,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.17279,
    "h": 332.3
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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