#AF48CA#AF48CA

#AF48CA is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.207 H 318.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF48CA
RGBrgb(175, 72, 202)
HSLhsl(288, 55%, 54%)
HSVhsv(288, 64%, 79%)
CMYKcmyk(13.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(49.51, 60.51, -48.92)
CIE-LCHlch(49.51, 77.81, 321.05°)
OKLaboklab(59.09% 0.1556 -0.1368)
OKLCHoklch(59.09% 0.207 318.7)
XYZxyz(30.6558, 18.0143, 57.7280)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48CA #63CA48
analogous
#6E48CA #AF48CA #CA48A4
triadic
#AF48CA #CAAF48 #48CAAF
tetradic
#AF48CA #CA6E48 #63CA48 #48A4CA
square
#AF48CA #CA6E48 #63CA48 #48A4CA
split-complementary
#AF48CA #A4CA48 #48CA6E
monochromatic
#642276 #8D30A5 #AF48CA #C477D8 #D8A7E5

Accessibility & contrast

On white

4.56
#AF48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF48CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48CA#FFFFFF#000000##000000
##AF48CA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#AF5F83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af48ca;
/* rgb */ color: rgb(175, 72, 202);
/* oklch */ color: oklch(59.1% 0.207 318.7);
Tailwind
colors: {
  custom: {
    50: '#ca82db',
    500: '#af48ca',
    950: '#000000',
  },
}
SCSS
$custom: #af48ca;
$custom-light: #ca82db;
$custom-dark: #000000;
JSON
{
  "hex": "#af48ca",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 287.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.20721,
    "h": 318.7
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#AF48CA
secondary
#A7D39B
accent
#DE4968
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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