#AF4DA4#AF4DA4

#AF4DA4 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.166 H 332.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF4DA4
RGBrgb(175, 77, 164)
HSLhsl(307, 39%, 49%)
HSVhsv(307, 56%, 69%)
CMYKcmyk(0%, 56%, 6.3%, 31.4%)
CIE-LABlab(48.39, 51.27, -28.54)
CIE-LCHlch(48.39, 58.68, 330.90°)
OKLaboklab(57.64% 0.1465 -0.0779)
OKLCHoklch(57.64% 0.166 332)
XYZxyz(27.0338, 17.1039, 36.9923)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DA4 #4DAF58
analogous
#894DAF #AF4DA4 #AF4D73
triadic
#AF4DA4 #A4AF4D #4DA4AF
tetradic
#AF4DA4 #AF894D #4DAF58 #4D73AF
square
#AF4DA4 #AF894D #4DAF58 #4D73AF
split-complementary
#AF4DA4 #73AF4D #4DAF89
monochromatic
#5A2854 #853A7C #AF4DA4 #C376BA #D6A1D0

Accessibility & contrast

On white

4.75
#AF4DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF4DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DA4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DA4#FFFFFF#000000##FFFFFF
##AF4DA41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#6778A1
Tritanopia (blue-blind)
#B65571
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af4da4;
/* rgb */ color: rgb(175, 77, 164);
/* oklch */ color: oklch(57.6% 0.166 332.0);
Tailwind
colors: {
  custom: {
    50: '#c984bf',
    500: '#af4da4',
    950: '#000000',
  },
}
SCSS
$custom: #af4da4;
$custom-light: #c984bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af4da4",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 164
  },
  "hsl": {
    "h": 306.735,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.16593,
    "h": 332
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#AF4DA4
secondary
#95C39A
accent
#CF6659
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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