#AF50BD#AF50BD

#AF50BD is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.184 H 322.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF50BD
RGBrgb(175, 80, 189)
HSLhsl(292, 45%, 53%)
HSVhsv(292, 58%, 74%)
CMYKcmyk(7.4%, 57.7%, 0%, 25.9%)
CIE-LABlab(50.13, 54.38, -40.43)
CIE-LCHlch(50.13, 67.76, 323.37°)
OKLaboklab(59.31% 0.1454 -0.1122)
OKLCHoklch(59.31% 0.184 322.3)
XYZxyz(29.7322, 18.5269, 50.1442)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF50BD #5EBD50
analogous
#7950BD #AF50BD #BD5094
triadic
#AF50BD #BDAF50 #50BDAF
tetradic
#AF50BD #BD7950 #5EBD50 #5094BD
square
#AF50BD #BD7950 #5EBD50 #5094BD
split-complementary
#AF50BD #94BD50 #50BD79
monochromatic
#62286A #8B3997 #AF50BD #C37CCE #D8A9DF

Accessibility & contrast

On white

4.46
#AF50BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AF50BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF50BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF50BD#FFFFFF#000000##000000
##AF50BD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#B1607F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af50bd;
/* rgb */ color: rgb(175, 80, 189);
/* oklch */ color: oklch(59.3% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#c986d1',
    500: '#af50bd',
    950: '#000000',
  },
}
SCSS
$custom: #af50bd;
$custom-light: #c986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af50bd",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 292.294,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.18368,
    "h": 322.3
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#AF50BD
secondary
#A3CC9D
accent
#D55364
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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