#AF48C9#AF48C9

#AF48C9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.206 H 319.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF48C9
RGBrgb(175, 72, 201)
HSLhsl(288, 54%, 54%)
HSVhsv(288, 64%, 79%)
CMYKcmyk(12.9%, 64.2%, 0%, 21.2%)
CIE-LABlab(49.46, 60.32, -48.43)
CIE-LCHlch(49.46, 77.36, 321.24°)
OKLaboklab(59.03% 0.1556 -0.1354)
OKLCHoklch(59.03% 0.206 319)
XYZxyz(30.5378, 17.9671, 57.1064)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48C9 #62C948
analogous
#6E48C9 #AF48C9 #C948A2
triadic
#AF48C9 #C9AF48 #48C9AF
tetradic
#AF48C9 #C96E48 #62C948 #48A2C9
square
#AF48C9 #C96E48 #62C948 #48A2C9
split-complementary
#AF48C9 #A2C948 #48C96E
monochromatic
#642274 #8C30A4 #AF48C9 #C477D7 #D8A7E5

Accessibility & contrast

On white

4.57
#AF48C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF48C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48C9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48C9#FFFFFF#000000##000000
##AF48C91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCD
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#AF5E82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af48c9;
/* rgb */ color: rgb(175, 72, 201);
/* oklch */ color: oklch(59.0% 0.206 319.0);
Tailwind
colors: {
  custom: {
    50: '#ca82da',
    500: '#af48c9',
    950: '#000000',
  },
}
SCSS
$custom: #af48c9;
$custom-light: #ca82da;
$custom-dark: #000000;
JSON
{
  "hex": "#af48c9",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 287.907,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.20628,
    "h": 319
  },
  "luminance": 0.17966
}

Semantic roles & 50–950 ramp

primary
#AF48C9
secondary
#A6D29B
accent
#DE4A68
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF48C9

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

Preview Lab → · Contrast checker → · Palette generator →

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