#AF73BC#AF73BC

#AF73BC is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.5% C 0.124 H 320.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF73BC
RGBrgb(175, 115, 188)
HSLhsl(289, 35%, 59%)
HSVhsv(289, 39%, 74%)
CMYKcmyk(6.9%, 38.8%, 0%, 26.3%)
CIE-LABlab(57.08, 36.01, -28.97)
CIE-LCHlch(57.08, 46.22, 321.18°)
OKLaboklab(64.46% 0.0957 -0.0795)
OKLCHoklch(64.46% 0.124 320.3)
XYZxyz(32.8859, 25.0073, 50.6618)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73BC #80BC73
analogous
#8B73BC #AF73BC #BC73A5
triadic
#AF73BC #BCAF73 #73BCAF
tetradic
#AF73BC #BC8B73 #80BC73 #73A5BC
square
#AF73BC #BC8B73 #80BC73 #73A5BC
split-complementary
#AF73BC #A5BC73 #73BC8B
monochromatic
#6F3A7A #944EA4 #AF73BC #C79CD0 #DEC6E4

Accessibility & contrast

On white

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

On black

6.00
#AF73BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73BC#FFFFFF#000000##000000
##AF73BC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BF
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#B07C8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af73bc;
/* rgb */ color: rgb(175, 115, 188);
/* oklch */ color: oklch(64.5% 0.124 320.3);
Tailwind
colors: {
  custom: {
    50: '#c89cd0',
    500: '#af73bc',
    950: '#000000',
  },
}
SCSS
$custom: #af73bc;
$custom-light: #c89cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af73bc",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 289.315,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.12443,
    "h": 320.3
  },
  "luminance": 0.25006
}

Semantic roles & 50–950 ramp

primary
#AF73BC
secondary
#BCD4B7
accent
#CB5C70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF73BC

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

Preview Lab → · Contrast checker → · Palette generator →

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