#AF73BD#AF73BD

#AF73BD is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.5% C 0.126 H 319.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AF73BD
RGBrgb(175, 115, 189)
HSLhsl(289, 36%, 60%)
HSVhsv(289, 39%, 74%)
CMYKcmyk(7.4%, 39.2%, 0%, 25.9%)
CIE-LABlab(57.12, 36.21, -29.48)
CIE-LCHlch(57.12, 46.69, 320.85°)
OKLaboklab(64.5% 0.096 -0.0809)
OKLCHoklch(64.5% 0.126 319.9)
XYZxyz(32.9941, 25.0506, 51.2315)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73BD #81BD73
analogous
#8A73BD #AF73BD #BD73A6
triadic
#AF73BD #BDAF73 #73BDAF
tetradic
#AF73BD #BD8A73 #81BD73 #73A6BD
square
#AF73BD #BD8A73 #81BD73 #73A6BD
split-complementary
#AF73BD #A6BD73 #73BD8A
monochromatic
#6F3A7B #954EA5 #AF73BD #C79DD1 #DFC6E4

Accessibility & contrast

On white

3.49
#AF73BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AF73BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73BD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73BD#FFFFFF#000000##000000
##AF73BD1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C0
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#B07C8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af73bd;
/* rgb */ color: rgb(175, 115, 189);
/* oklch */ color: oklch(64.5% 0.126 319.9);
Tailwind
colors: {
  custom: {
    50: '#c89cd1',
    500: '#af73bd',
    950: '#000000',
  },
}
SCSS
$custom: #af73bd;
$custom-light: #c89cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af73bd",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 288.649,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.645,
    "c": 0.12553,
    "h": 319.9
  },
  "luminance": 0.2505
}

Semantic roles & 50–950 ramp

primary
#AF73BD
secondary
#BDD4B8
accent
#CC5C71
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF73BD

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

Preview Lab → · Contrast checker → · Palette generator →

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