#AF4DCE#AF4DCE

#AF4DCE is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 59.9% C 0.204 H 317.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF4DCE
RGBrgb(175, 77, 206)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 63%, 81%)
CMYKcmyk(15%, 62.6%, 0%, 19.2%)
CIE-LABlab(50.55, 59.08, -49.57)
CIE-LCHlch(50.55, 77.12, 320.00°)
OKLaboklab(59.91% 0.1497 -0.1388)
OKLCHoklch(59.91% 0.204 317.2)
XYZxyz(31.4720, 18.8792, 60.3668)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DCE #6CCE4D
analogous
#6E4DCE #AF4DCE #CE4DAD
triadic
#AF4DCE #CEAF4D #4DCEAF
tetradic
#AF4DCE #CE6E4D #6CCE4D #4DADCE
square
#AF4DCE #CE6E4D #6CCE4D #4DADCE
split-complementary
#AF4DCE #ADCE4D #4DCE6E
monochromatic
#68237E #9030AE #AF4DCE #C57DDB #DAADE8

Accessibility & contrast

On white

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

On black

4.78
#AF4DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DCE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DCE#FFFFFF#000000##000000
##AF4DCE1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2372D2
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#AE6487
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4dce;
/* rgb */ color: rgb(175, 77, 206);
/* oklch */ color: oklch(59.9% 0.204 317.2);
Tailwind
colors: {
  custom: {
    50: '#ca85dd',
    500: '#af4dce',
    950: '#000000',
  },
}
SCSS
$custom: #af4dce;
$custom-light: #ca85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dce",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 285.581,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59911,
    "c": 0.20416,
    "h": 317.2
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#AF4DCE
secondary
#ADD6A1
accent
#E0486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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