#AF73CF#AF73CF

#AF73CF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.4% C 0.146 H 313.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF73CF
RGBrgb(175, 115, 207)
HSLhsl(279, 49%, 63%)
HSVhsv(279, 44%, 81%)
CMYKcmyk(15.5%, 44.4%, 0%, 18.8%)
CIE-LABlab(57.92, 39.98, -38.46)
CIE-LCHlch(57.92, 55.48, 316.11°)
OKLaboklab(65.36% 0.0994 -0.1067)
OKLCHoklch(65.36% 0.146 313)
XYZxyz(35.0705, 25.8812, 62.1675)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73CF #93CF73
analogous
#8173CF #AF73CF #CF73C1
triadic
#AF73CF #CFAF73 #73CFAF
tetradic
#AF73CF #CF8173 #93CF73 #73C1CF
square
#AF73CF #CF8173 #93CF73 #73C1CF
split-complementary
#AF73CF #C1CF73 #73CF81
monochromatic
#733395 #9545BF #AF73CF #C9A1DF #E3CEEE

Accessibility & contrast

On white

3.40
#AF73CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AF73CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73CF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73CF#FFFFFF#000000##000000
##AF73CF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#708DCC
Tritanopia (blue-blind)
#AC8197
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af73cf;
/* rgb */ color: rgb(175, 115, 207);
/* oklch */ color: oklch(65.4% 0.146 313.0);
Tailwind
colors: {
  custom: {
    50: '#c89cde',
    500: '#af73cf',
    950: '#000000',
  },
}
SCSS
$custom: #af73cf;
$custom-light: #c89cde;
$custom-dark: #000000;
JSON
{
  "hex": "#af73cf",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 279.13,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.14586,
    "h": 313
  },
  "luminance": 0.2588
}

Semantic roles & 50–950 ramp

primary
#AF73CF
secondary
#CADFBE
accent
#BC295C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF73CF

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

Preview Lab → · Contrast checker → · Palette generator →

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