#AF73BF#AF73BF

#AF73BF is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.6% C 0.128 H 319.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF73BF
RGBrgb(175, 115, 191)
HSLhsl(287, 37%, 60%)
HSVhsv(287, 40%, 75%)
CMYKcmyk(8.4%, 39.8%, 0%, 25.1%)
CIE-LABlab(57.21, 36.62, -30.49)
CIE-LCHlch(57.21, 47.65, 320.22°)
OKLaboklab(64.59% 0.0964 -0.0838)
OKLCHoklch(64.59% 0.128 319)
XYZxyz(33.2127, 25.1380, 52.3827)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73BF #83BF73
analogous
#8973BF #AF73BF #BF73A9
triadic
#AF73BF #BFAF73 #73BFAF
tetradic
#AF73BF #BF8973 #83BF73 #73A9BF
square
#AF73BF #BF8973 #83BF73 #73A9BF
split-complementary
#AF73BF #A9BF73 #73BF89
monochromatic
#703A7E #954DA8 #AF73BF #C79DD2 #DFC7E5

Accessibility & contrast

On white

3.48
#AF73BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#AF73BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73BF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73BF#FFFFFF#000000##000000
##AF73BF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#788BBD
Tritanopia (blue-blind)
#B07C90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af73bf;
/* rgb */ color: rgb(175, 115, 191);
/* oklch */ color: oklch(64.6% 0.128 319.0);
Tailwind
colors: {
  custom: {
    50: '#c89cd2',
    500: '#af73bf',
    950: '#000000',
  },
}
SCSS
$custom: #af73bf;
$custom-light: #c89cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af73bf",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 287.368,
    "s": 37.255,
    "l": 60
  },
  "oklch": {
    "l": 0.64592,
    "c": 0.12773,
    "h": 319
  },
  "luminance": 0.25137
}

Semantic roles & 50–950 ramp

primary
#AF73BF
secondary
#BED6B8
accent
#CD5B73
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF73BF

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

Preview Lab → · Contrast checker → · Palette generator →

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