#AF48BC#AF48BC

#AF48BC is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.194 H 323.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF48BC
RGBrgb(175, 72, 188)
HSLhsl(293, 46%, 51%)
HSVhsv(293, 62%, 74%)
CMYKcmyk(6.9%, 61.7%, 0%, 26.3%)
CIE-LABlab(48.74, 57.85, -42.06)
CIE-LCHlch(48.74, 71.52, 323.98°)
OKLaboklab(58.28% 0.1554 -0.1168)
OKLCHoklch(58.28% 0.194 323.1)
XYZxyz(29.0728, 17.3811, 49.3907)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48BC #55BC48
analogous
#7548BC #AF48BC #BC488F
triadic
#AF48BC #BCAF48 #48BCAF
tetradic
#AF48BC #BC7548 #55BC48 #488FBC
square
#AF48BC #BC7548 #55BC48 #488FBC
split-complementary
#AF48BC #8FBC48 #48BC75
monochromatic
#5E2565 #873592 #AF48BC #C375CC #D6A2DD

Accessibility & contrast

On white

4.69
#AF48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48BC#FFFFFF#000000##FFFFFF
##AF48BC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#B2597B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af48bc;
/* rgb */ color: rgb(175, 72, 188);
/* oklch */ color: oklch(58.3% 0.194 323.1);
Tailwind
colors: {
  custom: {
    50: '#ca81d0',
    500: '#af48bc',
    950: '#000000',
  },
}
SCSS
$custom: #af48bc;
$custom-light: #ca81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af48bc",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 293.276,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.19441,
    "h": 323.1
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#AF48BC
secondary
#9CCA96
accent
#D65261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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