#AF48D7#AF48D7

#AF48D7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.219 H 315.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF48D7
RGBrgb(175, 72, 215)
HSLhsl(283, 64%, 56%)
HSVhsv(283, 67%, 84%)
CMYKcmyk(18.6%, 66.5%, 0%, 15.7%)
CIE-LABlab(50.28, 63.08, -55.13)
CIE-LCHlch(50.28, 83.78, 318.84°)
OKLaboklab(59.89% 0.1552 -0.155)
OKLCHoklch(59.89% 0.219 315)
XYZxyz(32.2603, 18.6561, 66.1784)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48D7 #70D748
analogous
#6848D7 #AF48D7 #D748B8
triadic
#AF48D7 #D7AF48 #48D7AF
tetradic
#AF48D7 #D76848 #70D748 #48B8D7
square
#AF48D7 #D76848 #70D748 #48B8D7
split-complementary
#AF48D7 #B8D748 #48D768
monochromatic
#6A1E87 #9129B9 #AF48D7 #C57AE2 #DBACED

Accessibility & contrast

On white

4.44
#AF48D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AF48D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48D7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48D7#FFFFFF#000000##000000
##AF48D71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#AC648A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af48d7;
/* rgb */ color: rgb(175, 72, 215);
/* oklch */ color: oklch(59.9% 0.219 315.0);
Tailwind
colors: {
  custom: {
    50: '#cb82e4',
    500: '#af48d7',
    950: '#000000',
  },
}
SCSS
$custom: #af48d7;
$custom-light: #cb82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af48d7",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 283.217,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.21933,
    "h": 315
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#AF48D7
secondary
#B0DBA0
accent
#E7416F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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