#AF48C8#AF48C8

#AF48C8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.205 H 319.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF48C8
RGBrgb(175, 72, 200)
HSLhsl(288, 54%, 53%)
HSVhsv(288, 64%, 78%)
CMYKcmyk(12.5%, 64%, 0%, 21.6%)
CIE-LABlab(49.40, 60.12, -47.95)
CIE-LCHlch(49.40, 76.90, 321.43°)
OKLaboklab(58.97% 0.1556 -0.134)
OKLCHoklch(58.97% 0.205 319.3)
XYZxyz(30.4205, 17.9202, 56.4889)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48C8 #61C848
analogous
#6F48C8 #AF48C8 #C848A1
triadic
#AF48C8 #C8AF48 #48C8AF
tetradic
#AF48C8 #C86F48 #61C848 #48A1C8
square
#AF48C8 #C86F48 #61C848 #48A1C8
split-complementary
#AF48C8 #A1C848 #48C86F
monochromatic
#632373 #8C31A2 #AF48C8 #C477D6 #D8A6E4

Accessibility & contrast

On white

4.58
#AF48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF48C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48C8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48C8#FFFFFF#000000##000000
##AF48C81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#216ECC
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#AF5E82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af48c8;
/* rgb */ color: rgb(175, 72, 200);
/* oklch */ color: oklch(59.0% 0.205 319.3);
Tailwind
colors: {
  custom: {
    50: '#ca82d9',
    500: '#af48c8',
    950: '#000000',
  },
}
SCSS
$custom: #af48c8;
$custom-light: #ca82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af48c8",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 288.281,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.20537,
    "h": 319.3
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#AF48C8
secondary
#A5D19A
accent
#DD4B67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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