#AF4DB3#AF4DB3

#AF4DB3 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.179 H 326.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF4DB3
RGBrgb(175, 77, 179)
HSLhsl(298, 40%, 50%)
HSVhsv(298, 57%, 70%)
CMYKcmyk(2.2%, 57%, 0%, 29.8%)
CIE-LABlab(49.10, 53.92, -36.23)
CIE-LCHlch(49.10, 64.97, 326.10°)
OKLaboklab(58.39% 0.1485 -0.1)
OKLCHoklch(58.39% 0.179 326)
XYZxyz(28.4692, 17.6780, 44.5518)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DB3 #51B34D
analogous
#7C4DB3 #AF4DB3 #B34D84
triadic
#AF4DB3 #B3AF4D #4DB3AF
tetradic
#AF4DB3 #B37C4D #51B34D #4D84B3
square
#AF4DB3 #B37C4D #51B34D #4D84B3
split-complementary
#AF4DB3 #84B34D #4DB37C
monochromatic
#5C285E #853A89 #AF4DB3 #C278C5 #D6A3D8

Accessibility & contrast

On white

4.63
#AF4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF4DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DB3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DB3#FFFFFF#000000##FFFFFF
##AF4DB31.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#B35A79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4db3;
/* rgb */ color: rgb(175, 77, 179);
/* oklch */ color: oklch(58.4% 0.179 326.0);
Tailwind
colors: {
  custom: {
    50: '#c984ca',
    500: '#af4db3',
    950: '#000000',
  },
}
SCSS
$custom: #af4db3;
$custom-light: #c984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af4db3",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 297.647,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.179,
    "h": 326
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#AF4DB3
secondary
#99C597
accent
#D0585C
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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