#AF73FF#AF73FF

#AF73FF is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.0% C 0.202 H 301.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AF73FF
RGBrgb(175, 115, 255)
HSLhsl(266, 100%, 73%)
HSVhsv(266, 55%, 100%)
CMYKcmyk(31.4%, 54.9%, 0%, 0%)
CIE-LABlab(60.42, 50.99, -61.27)
CIE-LCHlch(60.42, 79.72, 309.77°)
OKLaboklab(68.03% 0.1039 -0.1732)
OKLCHoklch(68.03% 0.202 301)
XYZxyz(41.8557, 28.5952, 97.9027)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73FF #C3FF73
analogous
#737DFF #AF73FF #F573FF
triadic
#AF73FF #FFAF73 #73FFAF
tetradic
#AF73FF #FF737D #C3FF73 #73FFF5
square
#AF73FF #FF737D #C3FF73 #73FFF5
split-complementary
#AF73FF #FFF573 #7DFF73
monochromatic
#6A00F8 #8C36FF #AF73FF #D2B0FF #EEE0FF

Accessibility & contrast

On white

3.13
#AF73FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AF73FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73FF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73FF#FFFFFF#000000##000000
##AF73FF1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#4E91FC
Tritanopia (blue-blind)
#9F8FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af73ff;
/* rgb */ color: rgb(175, 115, 255);
/* oklch */ color: oklch(68.0% 0.202 301.0);
Tailwind
colors: {
  custom: {
    50: '#cb9dff',
    500: '#af73ff',
    950: '#000000',
  },
}
SCSS
$custom: #af73ff;
$custom-light: #cb9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ff",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.20198,
    "h": 301
  },
  "luminance": 0.28595
}

Semantic roles & 50–950 ramp

primary
#AF73FF
secondary
#E8F7D4
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF73FF

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

Preview Lab → · Contrast checker → · Palette generator →

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