#AF48AE#AF48AE

#AF48AE is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.182 H 328.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF48AE
RGBrgb(175, 72, 174)
HSLhsl(301, 42%, 48%)
HSVhsv(301, 59%, 69%)
CMYKcmyk(0%, 58.9%, 0.6%, 31.4%)
CIE-LABlab(48.02, 55.32, -35.01)
CIE-LCHlch(48.02, 65.47, 327.67°)
OKLaboklab(57.52% 0.1544 -0.0965)
OKLCHoklch(57.52% 0.182 328)
XYZxyz(27.6362, 16.8064, 41.8245)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48AE #48AF49
analogous
#7C48AF #AF48AE #AF487A
triadic
#AF48AE #AEAF48 #48AEAF
tetradic
#AF48AE #AF7C48 #48AF49 #487AAF
square
#AF48AE #AF7C48 #48AF49 #487AAF
split-complementary
#AF48AE #7AAF48 #48AF7C
monochromatic
#582458 #843683 #AF48AE #C470C3 #D69BD5

Accessibility & contrast

On white

4.82
#AF48AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF48AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48AE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48AE#FFFFFF#000000##FFFFFF
##AF48AE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#B45474
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af48ae;
/* rgb */ color: rgb(175, 72, 174);
/* oklch */ color: oklch(57.5% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca81c6',
    500: '#af48ae',
    950: '#000000',
  },
}
SCSS
$custom: #af48ae;
$custom-light: #ca81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af48ae",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 300.583,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.18205,
    "h": 328
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#AF48AE
secondary
#90C291
accent
#D25756
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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