#AF48C0#AF48C0

#AF48C0 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.198 H 321.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF48C0
RGBrgb(175, 72, 192)
HSLhsl(292, 49%, 52%)
HSVhsv(292, 63%, 75%)
CMYKcmyk(8.9%, 62.5%, 0%, 24.7%)
CIE-LABlab(48.95, 58.60, -44.03)
CIE-LCHlch(48.95, 73.30, 323.08°)
OKLaboklab(58.51% 0.1555 -0.1226)
OKLCHoklch(58.51% 0.198 321.7)
XYZxyz(29.5100, 17.5560, 51.6932)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48C0 #59C048
analogous
#7348C0 #AF48C0 #C04895
triadic
#AF48C0 #C0AF48 #48C0AF
tetradic
#AF48C0 #C07348 #59C048 #4895C0
square
#AF48C0 #C07348 #59C048 #4895C0
split-complementary
#AF48C0 #95C048 #48C073
monochromatic
#602469 #893497 #AF48C0 #C376D0 #D7A3DF

Accessibility & contrast

On white

4.66
#AF48C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF48C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48C0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48C0#FFFFFF#000000##FFFFFF
##AF48C01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#B15B7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af48c0;
/* rgb */ color: rgb(175, 72, 192);
/* oklch */ color: oklch(58.5% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#ca82d3',
    500: '#af48c0',
    950: '#000000',
  },
}
SCSS
$custom: #af48c0;
$custom-light: #ca82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af48c0",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 291.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.19803,
    "h": 321.7
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#AF48C0
secondary
#9FCC98
accent
#D84F63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF48C0

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

Preview Lab → · Contrast checker → · Palette generator →

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