#AF73CB#AF73CB

#AF73CB is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.2% C 0.141 H 314.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF73CB
RGBrgb(175, 115, 203)
HSLhsl(281, 46%, 62%)
HSVhsv(281, 43%, 80%)
CMYKcmyk(13.8%, 43.3%, 0%, 20.4%)
CIE-LABlab(57.74, 39.13, -36.49)
CIE-LCHlch(57.74, 53.50, 317.00°)
OKLaboklab(65.16% 0.0988 -0.101)
OKLCHoklch(65.16% 0.141 314.3)
XYZxyz(34.5877, 25.6880, 59.6246)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73CB #8FCB73
analogous
#8373CB #AF73CB #CB73BB
triadic
#AF73CB #CBAF73 #73CBAF
tetradic
#AF73CB #CB8373 #8FCB73 #73BBCB
square
#AF73CB #CB8373 #8FCB73 #73BBCB
split-complementary
#AF73CB #BBCB73 #73CB83
monochromatic
#72358F #9546BA #AF73CB #C8A0DC #E2CCEC

Accessibility & contrast

On white

3.42
#AF73CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AF73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73CB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73CB#FFFFFF#000000##000000
##AF73CB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#AD8095
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af73cb;
/* rgb */ color: rgb(175, 115, 203);
/* oklch */ color: oklch(65.2% 0.141 314.3);
Tailwind
colors: {
  custom: {
    50: '#c89cdb',
    500: '#af73cb',
    950: '#000000',
  },
}
SCSS
$custom: #af73cb;
$custom-light: #c89cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af73cb",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 280.909,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.14127,
    "h": 314.3
  },
  "luminance": 0.25687
}

Semantic roles & 50–950 ramp

primary
#AF73CB
secondary
#C7DDBD
accent
#B92C59
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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