#AF4DA9#AF4DA9

#AF4DA9 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.170 H 329.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF4DA9
RGBrgb(175, 77, 169)
HSLhsl(304, 39%, 49%)
HSVhsv(304, 56%, 69%)
CMYKcmyk(0%, 56%, 3.4%, 31.4%)
CIE-LABlab(48.62, 52.14, -31.13)
CIE-LCHlch(48.62, 60.72, 329.16°)
OKLaboklab(57.88% 0.1473 -0.0853)
OKLCHoklch(57.88% 0.17 329.9)
XYZxyz(27.4943, 17.2881, 39.4172)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DA9 #4DAF53
analogous
#844DAF #AF4DA9 #AF4D78
triadic
#AF4DA9 #A9AF4D #4DA9AF
tetradic
#AF4DA9 #AF844D #4DAF53 #4D78AF
square
#AF4DA9 #AF844D #4DAF53 #4D78AF
split-complementary
#AF4DA9 #78AF4D #4DAF84
monochromatic
#5A2857 #853A80 #AF4DA9 #C376BE #D6A1D2

Accessibility & contrast

On white

4.71
#AF4DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF4DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DA9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DA9#FFFFFF#000000##FFFFFF
##AF4DA91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#B55674
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af4da9;
/* rgb */ color: rgb(175, 77, 169);
/* oklch */ color: oklch(57.9% 0.170 329.9);
Tailwind
colors: {
  custom: {
    50: '#c984c3',
    500: '#af4da9',
    950: '#000000',
  },
}
SCSS
$custom: #af4da9;
$custom-light: #c984c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4da9",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 303.673,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.17018,
    "h": 329.9
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#AF4DA9
secondary
#95C398
accent
#CF6059
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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