#AF73F6#AF73F6

#AF73F6 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.191 H 302.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF73F6
RGBrgb(175, 115, 246)
HSLhsl(267, 88%, 71%)
HSVhsv(267, 53%, 96%)
CMYKcmyk(28.9%, 53.3%, 0%, 3.5%)
CIE-LABlab(59.92, 48.84, -57.12)
CIE-LCHlch(59.92, 75.16, 310.53°)
OKLaboklab(67.49% 0.1036 -0.161)
OKLCHoklch(67.49% 0.191 302.7)
XYZxyz(40.4407, 28.0293, 90.4506)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73F6 #BAF673
analogous
#7378F6 #AF73F6 #F073F6
triadic
#AF73F6 #F6AF73 #73F6AF
tetradic
#AF73F6 #F67378 #BAF673 #73F6F0
square
#AF73F6 #F67378 #BAF673 #73F6F0
split-complementary
#AF73F6 #F6F073 #78F673
monochromatic
#6E0EE0 #8E39F2 #AF73F6 #D0ADFA #EFE2FD

Accessibility & contrast

On white

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

On black

6.61
#AF73F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73F6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73F6#FFFFFF#000000##000000
##AF73F61.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#A28CAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af73f6;
/* rgb */ color: rgb(175, 115, 246);
/* oklch */ color: oklch(67.5% 0.191 302.7);
Tailwind
colors: {
  custom: {
    50: '#ca9dfa',
    500: '#af73f6',
    950: '#000000',
  },
}
SCSS
$custom: #af73f6;
$custom-light: #ca9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#af73f6",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 267.481,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.19146,
    "h": 302.7
  },
  "luminance": 0.28029
}

Semantic roles & 50–950 ramp

primary
#AF73F6
secondary
#E4F4D1
accent
#E4017C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73F6

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

Preview Lab → · Contrast checker → · Palette generator →

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