#AF48C5#AF48C5

#AF48C5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.8% C 0.203 H 320.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF48C5
RGBrgb(175, 72, 197)
HSLhsl(289, 52%, 53%)
HSVhsv(289, 63%, 77%)
CMYKcmyk(11.2%, 63.5%, 0%, 22.7%)
CIE-LABlab(49.23, 59.55, -46.49)
CIE-LCHlch(49.23, 75.54, 322.02°)
OKLaboklab(58.79% 0.1556 -0.1297)
OKLCHoklch(58.79% 0.203 320.2)
XYZxyz(30.0734, 17.7813, 54.6605)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48C5 #5EC548
analogous
#7048C5 #AF48C5 #C5489C
triadic
#AF48C5 #C5AF48 #48C5AF
tetradic
#AF48C5 #C57048 #5EC548 #489CC5
square
#AF48C5 #C57048 #5EC548 #489CC5
split-complementary
#AF48C5 #9CC548 #48C570
monochromatic
#62236F #8B329E #AF48C5 #C376D4 #D8A5E2

Accessibility & contrast

On white

4.61
#AF48C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AF48C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48C5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48C5#FFFFFF#000000##FFFFFF
##AF48C51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266EC9
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#B05D80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af48c5;
/* rgb */ color: rgb(175, 72, 197);
/* oklch */ color: oklch(58.8% 0.203 320.2);
Tailwind
colors: {
  custom: {
    50: '#ca82d7',
    500: '#af48c5',
    950: '#000000',
  },
}
SCSS
$custom: #af48c5;
$custom-light: #ca82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#af48c5",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 289.44,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.2026,
    "h": 320.2
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#AF48C5
secondary
#A3CF99
accent
#DB4C66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF48C5

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

Preview Lab → · Contrast checker → · Palette generator →

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