#AF3DC4#AF3DC4

#AF3DC4 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.216 H 321.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF3DC4
RGBrgb(175, 61, 196)
HSLhsl(291, 53%, 50%)
HSVhsv(291, 69%, 77%)
CMYKcmyk(10.7%, 68.9%, 0%, 23.1%)
CIE-LABlab(47.54, 63.91, -48.60)
CIE-LCHlch(47.54, 80.28, 322.75°)
OKLaboklab(57.56% 0.1678 -0.1358)
OKLCHoklch(57.56% 0.216 321)
XYZxyz(29.3106, 16.4385, 53.8429)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DC4 #52C43D
analogous
#6C3DC4 #AF3DC4 #C43D95
triadic
#AF3DC4 #C4AF3D #3DC4AF
tetradic
#AF3DC4 #C46C3D #52C43D #3D95C4
square
#AF3DC4 #C46C3D #52C43D #3D95C4
split-complementary
#AF3DC4 #95C43D #3DC46C
monochromatic
#5C1F67 #862E96 #AF3DC4 #C26CD2 #D69BE1

Accessibility & contrast

On white

4.90
#AF3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF3DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DC4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DC4#FFFFFF#000000##FFFFFF
##AF3DC41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0469C8
Deuteranopia (green-blind)
#4C75C1
Tritanopia (blue-blind)
#B0557C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3dc4;
/* rgb */ color: rgb(175, 61, 196);
/* oklch */ color: oklch(57.6% 0.216 321.0);
Tailwind
colors: {
  custom: {
    50: '#cb7cd6',
    500: '#af3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #af3dc4;
$custom-light: #cb7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dc4",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 290.667,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57563,
    "c": 0.21588,
    "h": 321
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#AF3DC4
secondary
#9ACD90
accent
#DD4B62
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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