#AF4DAD#AF4DAD

#AF4DAD is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.174 H 328.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF4DAD
RGBrgb(175, 77, 173)
HSLhsl(301, 39%, 49%)
HSVhsv(301, 56%, 69%)
CMYKcmyk(0%, 56%, 1.1%, 31.4%)
CIE-LABlab(48.81, 52.84, -33.18)
CIE-LCHlch(48.81, 62.40, 327.88°)
OKLaboklab(58.08% 0.1478 -0.0912)
OKLCHoklch(58.08% 0.174 328.3)
XYZxyz(27.8755, 17.4406, 41.4252)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DAD #4DAF4F
analogous
#804DAF #AF4DAD #AF4D7C
triadic
#AF4DAD #ADAF4D #4DADAF
tetradic
#AF4DAD #AF804D #4DAF4F #4D7CAF
square
#AF4DAD #AF804D #4DAF4F #4D7CAF
split-complementary
#AF4DAD #7CAF4D #4DAF80
monochromatic
#5A2859 #853A83 #AF4DAD #C376C1 #D6A1D4

Accessibility & contrast

On white

4.68
#AF4DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF4DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DAD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DAD#FFFFFF#000000##FFFFFF
##AF4DAD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB0
Deuteranopia (green-blind)
#6379AA
Tritanopia (blue-blind)
#B45876
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4dad;
/* rgb */ color: rgb(175, 77, 173);
/* oklch */ color: oklch(58.1% 0.174 328.3);
Tailwind
colors: {
  custom: {
    50: '#c984c6',
    500: '#af4dad',
    950: '#000000',
  },
}
SCSS
$custom: #af4dad;
$custom-light: #c984c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dad",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 301.224,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.17367,
    "h": 328.3
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#AF4DAD
secondary
#95C396
accent
#CF5B59
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AF4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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