#AF3CD5#AF3CD5

#AF3CD5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.232 H 316.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF3CD5
RGBrgb(175, 60, 213)
HSLhsl(285, 65%, 54%)
HSVhsv(285, 72%, 84%)
CMYKcmyk(17.8%, 71.8%, 0%, 16.5%)
CIE-LABlab(48.45, 67.49, -56.94)
CIE-LCHlch(48.45, 88.30, 319.85°)
OKLaboklab(58.54% 0.1676 -0.1602)
OKLCHoklch(58.54% 0.232 316.3)
XYZxyz(31.3034, 17.1510, 64.5994)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CD5 #62D53C
analogous
#623CD5 #AF3CD5 #D53CAE
triadic
#AF3CD5 #D5AF3C #3CD5AF
tetradic
#AF3CD5 #D5623C #62D53C #3CAED5
square
#AF3CD5 #D5623C #62D53C #3CAED5
split-complementary
#AF3CD5 #AED53C #3CD562
monochromatic
#641B7C #8C26AE #AF3CD5 #C46EE0 #D8A1EB

Accessibility & contrast

On white

4.74
#AF3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CD5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CD5#FFFFFF#000000##FFFFFF
##AF3CD51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#3C76D2
Tritanopia (blue-blind)
#AD5C85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3cd5;
/* rgb */ color: rgb(175, 60, 213);
/* oklch */ color: oklch(58.5% 0.232 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ce3',
    500: '#af3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #af3cd5;
$custom-light: #cb7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cd5",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 285.098,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.23187,
    "h": 316.3
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#AF3CD5
secondary
#A6D796
accent
#E8406A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A15
muted
#837C84

Preview Lab

Preview with #AF3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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