#AF48D8#AF48D8

#AF48D8 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.220 H 314.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF48D8
RGBrgb(175, 72, 216)
HSLhsl(283, 65%, 56%)
HSVhsv(283, 67%, 85%)
CMYKcmyk(19%, 66.7%, 0%, 15.3%)
CIE-LABlab(50.34, 63.28, -55.61)
CIE-LCHlch(50.34, 84.24, 318.69°)
OKLaboklab(59.96% 0.1551 -0.1564)
OKLCHoklch(59.96% 0.22 314.8)
XYZxyz(32.3892, 18.7077, 66.8572)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48D8 #71D848
analogous
#6748D8 #AF48D8 #D848B9
triadic
#AF48D8 #D8AF48 #48D8AF
tetradic
#AF48D8 #D86748 #71D848 #48B9D8
square
#AF48D8 #D86748 #71D848 #48B9D8
split-complementary
#AF48D8 #B9D848 #48D867
monochromatic
#6A1D89 #9128BB #AF48D8 #C57AE3 #DBADEE

Accessibility & contrast

On white

4.43
#AF48D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AF48D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48D8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48D8#FFFFFF#000000##000000
##AF48D81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#437AD5
Tritanopia (blue-blind)
#AC648A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af48d8;
/* rgb */ color: rgb(175, 72, 216);
/* oklch */ color: oklch(60.0% 0.220 314.8);
Tailwind
colors: {
  custom: {
    50: '#cb82e5',
    500: '#af48d8',
    950: '#000000',
  },
}
SCSS
$custom: #af48d8;
$custom-light: #cb82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af48d8",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 282.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.22027,
    "h": 314.8
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#AF48D8
secondary
#B1DBA0
accent
#E84070
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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