#AF4DA0#AF4DA0

#AF4DA0 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.163 H 333.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF4DA0
RGBrgb(175, 77, 160)
HSLhsl(309, 39%, 49%)
HSVhsv(309, 56%, 69%)
CMYKcmyk(0%, 56%, 8.6%, 31.4%)
CIE-LABlab(48.21, 50.60, -26.45)
CIE-LCHlch(48.21, 57.09, 332.40°)
OKLaboklab(57.45% 0.1458 -0.072)
OKLCHoklch(57.45% 0.163 333.7)
XYZxyz(26.6783, 16.9617, 35.1197)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DA0 #4DAF5C
analogous
#8D4DAF #AF4DA0 #AF4D6F
triadic
#AF4DA0 #A0AF4D #4DA0AF
tetradic
#AF4DA0 #AF8D4D #4DAF5C #4D6FAF
square
#AF4DA0 #AF8D4D #4DAF5C #4D6FAF
split-complementary
#AF4DA0 #6FAF4D #4DAF8D
monochromatic
#5A2852 #853A79 #AF4DA0 #C376B7 #D6A1CD

Accessibility & contrast

On white

4.78
#AF4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF4DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DA0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DA0#FFFFFF#000000##FFFFFF
##AF4DA01.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C69A3
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#B6536F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4da0;
/* rgb */ color: rgb(175, 77, 160);
/* oklch */ color: oklch(57.4% 0.163 333.7);
Tailwind
colors: {
  custom: {
    50: '#c984bc',
    500: '#af4da0',
    950: '#000000',
  },
}
SCSS
$custom: #af4da0;
$custom-light: #c984bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af4da0",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 309.184,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.16261,
    "h": 333.7
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#AF4DA0
secondary
#95C39C
accent
#CF6B59
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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