#AF73F5#AF73F5

#AF73F5 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.190 H 303.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AF73F5
RGBrgb(175, 115, 245)
HSLhsl(268, 87%, 71%)
HSVhsv(268, 53%, 96%)
CMYKcmyk(28.6%, 53.1%, 0%, 3.9%)
CIE-LABlab(59.86, 48.61, -56.66)
CIE-LCHlch(59.86, 74.65, 310.63°)
OKLaboklab(67.43% 0.1035 -0.1597)
OKLCHoklch(67.43% 0.19 303)
XYZxyz(40.2877, 27.9680, 89.6444)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73F5 #B9F573
analogous
#7378F5 #AF73F5 #F073F5
triadic
#AF73F5 #F5AF73 #73F5AF
tetradic
#AF73F5 #F57378 #B9F573 #73F5F0
square
#AF73F5 #F57378 #B9F573 #73F5F0
split-complementary
#AF73F5 #F5F073 #78F573
monochromatic
#6F10DE #8E3AF1 #AF73F5 #D0ACF9 #EFE2FD

Accessibility & contrast

On white

3.18
#AF73F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AF73F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73F5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73F5#FFFFFF#000000##000000
##AF73F51.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#A28CA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af73f5;
/* rgb */ color: rgb(175, 115, 245);
/* oklch */ color: oklch(67.4% 0.190 303.0);
Tailwind
colors: {
  custom: {
    50: '#ca9df9',
    500: '#af73f5',
    950: '#000000',
  },
}
SCSS
$custom: #af73f5;
$custom-light: #ca9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#af73f5",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 267.692,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67431,
    "c": 0.19029,
    "h": 303
  },
  "luminance": 0.27968
}

Semantic roles & 50–950 ramp

primary
#AF73F5
secondary
#E3F4D0
accent
#E3027B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73F5

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

Preview Lab → · Contrast checker → · Palette generator →

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