#AF4CCF#AF4CCF

#AF4CCF is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.206 H 317.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF4CCF
RGBrgb(175, 76, 207)
HSLhsl(285, 58%, 55%)
HSVhsv(285, 63%, 81%)
CMYKcmyk(15.5%, 63.3%, 0%, 18.8%)
CIE-LABlab(50.44, 59.73, -50.31)
CIE-LCHlch(50.44, 78.09, 319.89°)
OKLaboklab(59.85% 0.1509 -0.1409)
OKLCHoklch(59.85% 0.206 317)
XYZxyz(31.5245, 18.7891, 60.9855)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CCF #6CCF4C
analogous
#6E4CCF #AF4CCF #CF4CAD
triadic
#AF4CCF #CFAF4C #4CCFAF
tetradic
#AF4CCF #CF6E4C #6CCF4C #4CADCF
square
#AF4CCF #CF6E4C #6CCF4C #4CADCF
split-complementary
#AF4CCF #ADCF4C #4CCF6E
monochromatic
#68227F #902FAF #AF4CCF #C57CDC #DAADE9

Accessibility & contrast

On white

4.41
#AF4CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AF4CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CCF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CCF#FFFFFF#000000##000000
##AF4CCF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#AE6387
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4ccf;
/* rgb */ color: rgb(175, 76, 207);
/* oklch */ color: oklch(59.9% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca84de',
    500: '#af4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #af4ccf;
$custom-light: #ca84de;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ccf",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 285.344,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.20649,
    "h": 317
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#AF4CCF
secondary
#ADD7A0
accent
#E1476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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