#AF4DAE#AF4DAE

#AF4DAE is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.175 H 327.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF4DAE
RGBrgb(175, 77, 174)
HSLhsl(301, 39%, 49%)
HSVhsv(301, 56%, 69%)
CMYKcmyk(0%, 56%, 0.6%, 31.4%)
CIE-LABlab(48.86, 53.02, -33.69)
CIE-LCHlch(48.86, 62.82, 327.57°)
OKLaboklab(58.14% 0.1479 -0.0927)
OKLCHoklch(58.14% 0.175 327.9)
XYZxyz(27.9726, 17.4794, 41.9367)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DAE #4DAF4E
analogous
#7F4DAF #AF4DAE #AF4D7D
triadic
#AF4DAE #AEAF4D #4DAEAF
tetradic
#AF4DAE #AF7F4D #4DAF4E #4D7DAF
square
#AF4DAE #AF7F4D #4DAF4E #4D7DAF
split-complementary
#AF4DAE #7DAF4D #4DAF7F
monochromatic
#5A2859 #853A84 #AF4DAE #C376C2 #D6A1D5

Accessibility & contrast

On white

4.67
#AF4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF4DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DAE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DAE#FFFFFF#000000##FFFFFF
##AF4DAE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#B45876
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4dae;
/* rgb */ color: rgb(175, 77, 174);
/* oklch */ color: oklch(58.1% 0.175 327.9);
Tailwind
colors: {
  custom: {
    50: '#c984c6',
    500: '#af4dae',
    950: '#000000',
  },
}
SCSS
$custom: #af4dae;
$custom-light: #c984c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dae",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 300.612,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.17454,
    "h": 327.9
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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