#AF4CD0#AF4CD0

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

Color values

HEX#AF4CD0
RGBrgb(175, 76, 208)
HSLhsl(285, 58%, 56%)
HSVhsv(285, 63%, 82%)
CMYKcmyk(15.9%, 63.5%, 0%, 18.4%)
CIE-LABlab(50.50, 59.93, -50.79)
CIE-LCHlch(50.50, 78.55, 319.72°)
OKLaboklab(59.91% 0.1509 -0.1423)
OKLCHoklch(59.91% 0.207 316.7)
XYZxyz(31.6471, 18.8381, 61.6314)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CD0 #6DD04C
analogous
#6D4CD0 #AF4CD0 #D04CAF
triadic
#AF4CD0 #D0AF4C #4CD0AF
tetradic
#AF4CD0 #D06D4C #6DD04C #4CAFD0
square
#AF4CD0 #D06D4C #6DD04C #4CAFD0
split-complementary
#AF4CD0 #AFD04C #4CD06D
monochromatic
#682280 #902EB0 #AF4CD0 #C57CDD #DAADE9

Accessibility & contrast

On white

4.40
#AF4CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AF4CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CD0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CD0#FFFFFF#000000##000000
##AF4CD01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D4
Deuteranopia (green-blind)
#4E7BCD
Tritanopia (blue-blind)
#AD6487
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4cd0;
/* rgb */ color: rgb(175, 76, 208);
/* oklch */ color: oklch(59.9% 0.207 316.7);
Tailwind
colors: {
  custom: {
    50: '#ca84df',
    500: '#af4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #af4cd0;
$custom-light: #ca84df;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cd0",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 285,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59913,
    "c": 0.20745,
    "h": 316.7
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#AF4CD0
secondary
#AED7A0
accent
#E2466D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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