#AF50AA#AF50AA

#AF50AA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.166 H 329.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF50AA
RGBrgb(175, 80, 170)
HSLhsl(303, 37%, 50%)
HSVhsv(303, 54%, 69%)
CMYKcmyk(0%, 54.3%, 2.9%, 31.4%)
CIE-LABlab(49.20, 50.89, -30.81)
CIE-LCHlch(49.20, 59.49, 328.81°)
OKLaboklab(58.32% 0.1433 -0.0844)
OKLCHoklch(58.32% 0.166 329.5)
XYZxyz(27.8033, 17.7553, 39.9851)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF50AA #50AF55
analogous
#8550AF #AF50AA #AF507A
triadic
#AF50AA #AAAF50 #50AAAF
tetradic
#AF50AA #AF8550 #50AF55 #507AAF
square
#AF50AA #AF8550 #50AF55 #507AAF
split-complementary
#AF50AA #7AAF50 #50AF85
monochromatic
#5B2A58 #853D81 #AF50AA #C27ABE #D5A4D3

Accessibility & contrast

On white

4.61
#AF50AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF50AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF50AA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF50AA#FFFFFF#000000##FFFFFF
##AF50AA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496DAD
Deuteranopia (green-blind)
#677AA7
Tritanopia (blue-blind)
#B55976
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af50aa;
/* rgb */ color: rgb(175, 80, 170);
/* oklch */ color: oklch(58.3% 0.166 329.5);
Tailwind
colors: {
  custom: {
    50: '#c986c3',
    500: '#af50aa',
    950: '#000000',
  },
}
SCSS
$custom: #af50aa;
$custom-light: #c986c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af50aa",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 303.158,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.16635,
    "h": 329.5
  },
  "luminance": 0.17754
}

Semantic roles & 50–950 ramp

primary
#AF50AA
secondary
#98C39A
accent
#CD615B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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