#AF4CC9#AF4CC9

#AF4CC9 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.5% C 0.201 H 318.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF4CC9
RGBrgb(175, 76, 201)
HSLhsl(288, 54%, 54%)
HSVhsv(288, 62%, 79%)
CMYKcmyk(12.9%, 62.2%, 0%, 21.2%)
CIE-LABlab(50.10, 58.54, -47.41)
CIE-LCHlch(50.10, 75.33, 321.00°)
OKLaboklab(59.5% 0.1509 -0.1325)
OKLCHoklch(59.5% 0.201 318.7)
XYZxyz(30.8048, 18.5012, 57.1955)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CC9 #66C94C
analogous
#714CC9 #AF4CC9 #C94CA5
triadic
#AF4CC9 #C9AF4C #4CC9AF
tetradic
#AF4CC9 #C9714C #66C94C #4CA5C9
square
#AF4CC9 #C9714C #66C94C #4CA5C9
split-complementary
#AF4CC9 #A5C94C #4CC971
monochromatic
#662477 #8E32A6 #AF4CC9 #C47BD7 #D9AAE5

Accessibility & contrast

On white

4.47
#AF4CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AF4CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CC9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CC9#FFFFFF#000000##000000
##AF4CC91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2971CD
Deuteranopia (green-blind)
#537BC6
Tritanopia (blue-blind)
#AF6184
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4cc9;
/* rgb */ color: rgb(175, 76, 201);
/* oklch */ color: oklch(59.5% 0.201 318.7);
Tailwind
colors: {
  custom: {
    50: '#ca84da',
    500: '#af4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #af4cc9;
$custom-light: #ca84da;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cc9",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 287.52,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.2008,
    "h": 318.7
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#AF4CC9
secondary
#A9D39E
accent
#DD4B69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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