#AF73BB#AF73BB

#AF73BB is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.4% C 0.123 H 320.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF73BB
RGBrgb(175, 115, 187)
HSLhsl(290, 35%, 59%)
HSVhsv(290, 39%, 73%)
CMYKcmyk(6.4%, 38.5%, 0%, 26.7%)
CIE-LABlab(57.04, 35.80, -28.47)
CIE-LCHlch(57.04, 45.74, 321.51°)
OKLaboklab(64.41% 0.0955 -0.078)
OKLCHoklch(64.41% 0.123 320.8)
XYZxyz(32.7785, 24.9643, 50.0960)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73BB #7FBB73
analogous
#8B73BB #AF73BB #BB73A3
triadic
#AF73BB #BBAF73 #73BBAF
tetradic
#AF73BB #BB8B73 #7FBB73 #73A3BB
square
#AF73BB #BB8B73 #7FBB73 #73A3BB
split-complementary
#AF73BB #A3BB73 #73BB8B
monochromatic
#6F3B79 #944FA2 #AF73BB #C79CCF #DEC5E3

Accessibility & contrast

On white

3.50
#AF73BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AF73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73BB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73BB#FFFFFF#000000##000000
##AF73BB1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#B07B8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af73bb;
/* rgb */ color: rgb(175, 115, 187);
/* oklch */ color: oklch(64.4% 0.123 320.8);
Tailwind
colors: {
  custom: {
    50: '#c89ccf',
    500: '#af73bb',
    950: '#000000',
  },
}
SCSS
$custom: #af73bb;
$custom-light: #c89ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#af73bb",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 290,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64409,
    "c": 0.12334,
    "h": 320.8
  },
  "luminance": 0.24963
}

Semantic roles & 50–950 ramp

primary
#AF73BB
secondary
#BCD3B7
accent
#CB5D6F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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