#AF50AE#AF50AE

#AF50AE is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.5% C 0.170 H 327.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF50AE
RGBrgb(175, 80, 174)
HSLhsl(301, 37%, 50%)
HSVhsv(301, 54%, 69%)
CMYKcmyk(0%, 54.3%, 0.6%, 31.4%)
CIE-LABlab(49.39, 51.60, -32.86)
CIE-LCHlch(49.39, 61.18, 327.51°)
OKLaboklab(58.52% 0.1439 -0.0903)
OKLCHoklch(58.52% 0.17 327.9)
XYZxyz(28.1874, 17.9090, 42.0083)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF50AE #50AF51
analogous
#8150AF #AF50AE #AF507E
triadic
#AF50AE #AEAF50 #50AEAF
tetradic
#AF50AE #AF8150 #50AF51 #507EAF
square
#AF50AE #AF8150 #50AF51 #507EAF
split-complementary
#AF50AE #7EAF50 #50AF81
monochromatic
#5B2A5A #853D84 #AF50AE #C27AC1 #D5A4D5

Accessibility & contrast

On white

4.58
#AF50AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF50AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF50AE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF50AE#FFFFFF#000000##000000
##AF50AE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB1
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#B45B77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af50ae;
/* rgb */ color: rgb(175, 80, 174);
/* oklch */ color: oklch(58.5% 0.170 327.9);
Tailwind
colors: {
  custom: {
    50: '#c986c6',
    500: '#af50ae',
    950: '#000000',
  },
}
SCSS
$custom: #af50ae;
$custom-light: #c986c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af50ae",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 300.632,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.16989,
    "h": 327.9
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#AF50AE
secondary
#98C399
accent
#CD5C5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AF50AE

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

Preview Lab → · Contrast checker → · Palette generator →

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