#AF73DF#AF73DF

#AF73DF is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.164 H 308.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF73DF
RGBrgb(175, 115, 223)
HSLhsl(273, 63%, 66%)
HSVhsv(273, 48%, 87%)
CMYKcmyk(21.5%, 48.4%, 0%, 12.5%)
CIE-LABlab(58.70, 43.52, -46.25)
CIE-LCHlch(58.70, 63.51, 313.26°)
OKLaboklab(66.19% 0.1017 -0.1293)
OKLCHoklch(66.19% 0.164 308.2)
XYZxyz(37.1266, 26.7036, 72.9962)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73DF #A3DF73
analogous
#7973DF #AF73DF #DF73D9
triadic
#AF73DF #DFAF73 #73DFAF
tetradic
#AF73DF #DF7973 #A3DF73 #73D9DF
square
#AF73DF #DF7973 #A3DF73 #73D9DF
split-complementary
#AF73DF #D9DF73 #73DF79
monochromatic
#7328AF #9341D4 #AF73DF #CBA5EA #E8D7F6

Accessibility & contrast

On white

3.31
#AF73DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AF73DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73DF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73DF#FFFFFF#000000##000000
##AF73DF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#A8859F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af73df;
/* rgb */ color: rgb(175, 115, 223);
/* oklch */ color: oklch(66.2% 0.164 308.2);
Tailwind
colors: {
  custom: {
    50: '#c99de9',
    500: '#af73df',
    950: '#000000',
  },
}
SCSS
$custom: #af73df;
$custom-light: #c99de9;
$custom-dark: #000000;
JSON
{
  "hex": "#af73df",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 273.333,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.16448,
    "h": 308.2
  },
  "luminance": 0.26703
}

Semantic roles & 50–950 ramp

primary
#AF73DF
secondary
#D5E9C5
accent
#CB1B69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF73DF

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

Preview Lab → · Contrast checker → · Palette generator →

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