#AF50BB#AF50BB

#AF50BB is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.182 H 323.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF50BB
RGBrgb(175, 80, 187)
HSLhsl(293, 44%, 52%)
HSVhsv(293, 57%, 73%)
CMYKcmyk(6.4%, 57.2%, 0%, 26.7%)
CIE-LABlab(50.03, 54.00, -39.44)
CIE-LCHlch(50.03, 66.87, 323.86°)
OKLaboklab(59.2% 0.1453 -0.1093)
OKLCHoklch(59.2% 0.182 323)
XYZxyz(29.5166, 18.4406, 49.0087)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF50BB #5CBB50
analogous
#7A50BB #AF50BB #BB5092
triadic
#AF50BB #BBAF50 #50BBAF
tetradic
#AF50BB #BB7A50 #5CBB50 #5092BB
square
#AF50BB #BB7A50 #5CBB50 #5092BB
split-complementary
#AF50BB #92BB50 #50BB7A
monochromatic
#612868 #8A3A94 #AF50BB #C37CCC #D7A8DD

Accessibility & contrast

On white

4.48
#AF50BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AF50BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF50BB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF50BB#FFFFFF#000000##000000
##AF50BB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#B25F7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af50bb;
/* rgb */ color: rgb(175, 80, 187);
/* oklch */ color: oklch(59.2% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#c986d0',
    500: '#af50bb',
    950: '#000000',
  },
}
SCSS
$custom: #af50bb;
$custom-light: #c986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af50bb",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 293.271,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.592,
    "c": 0.1818,
    "h": 323
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#AF50BB
secondary
#A1CB9C
accent
#D45462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AF50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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