#AF73F9#AF73F9

#AF73F9 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.195 H 302.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF73F9
RGBrgb(175, 115, 249)
HSLhsl(267, 92%, 71%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(29.7%, 53.8%, 0%, 2.4%)
CIE-LABlab(60.08, 49.56, -58.51)
CIE-LCHlch(60.08, 76.68, 310.26°)
OKLaboklab(67.67% 0.1037 -0.1651)
OKLCHoklch(67.67% 0.195 302.1)
XYZxyz(40.9049, 28.2149, 92.8952)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73F9 #BDF973
analogous
#737AF9 #AF73F9 #F273F9
triadic
#AF73F9 #F9AF73 #73F9AF
tetradic
#AF73F9 #F9737A #BDF973 #73F9F2
square
#AF73F9 #F9737A #BDF973 #73F9F2
split-complementary
#AF73F9 #F9F273 #7AF973
monochromatic
#6D0AE8 #8D38F6 #AF73F9 #D1AEFC #EEE2FE

Accessibility & contrast

On white

3.16
#AF73F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AF73F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73F9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73F9#FFFFFF#000000##000000
##AF73F91.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FD
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#A18DAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af73f9;
/* rgb */ color: rgb(175, 115, 249);
/* oklch */ color: oklch(67.7% 0.195 302.1);
Tailwind
colors: {
  custom: {
    50: '#ca9dfc',
    500: '#af73f9',
    950: '#000000',
  },
}
SCSS
$custom: #af73f9;
$custom-light: #ca9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#af73f9",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 266.866,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67667,
    "c": 0.19497,
    "h": 302.1
  },
  "luminance": 0.28215
}

Semantic roles & 50–950 ramp

primary
#AF73F9
secondary
#E6F5D2
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73F9

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

Preview Lab → · Contrast checker → · Palette generator →

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