#AF73FD#AF73FD

#AF73FD is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.200 H 301.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AF73FD
RGBrgb(175, 115, 253)
HSLhsl(266, 97%, 72%)
HSVhsv(266, 55%, 99%)
CMYKcmyk(30.8%, 54.5%, 0%, 0.8%)
CIE-LABlab(60.31, 50.51, -60.36)
CIE-LCHlch(60.31, 78.70, 309.93°)
OKLaboklab(67.91% 0.1038 -0.1705)
OKLCHoklch(67.91% 0.2 301.3)
XYZxyz(41.5354, 28.4671, 96.2159)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73FD #C1FD73
analogous
#737CFD #AF73FD #F473FD
triadic
#AF73FD #FDAF73 #73FDAF
tetradic
#AF73FD #FD737C #C1FD73 #73FDF4
square
#AF73FD #FD737C #C1FD73 #73FDF4
split-complementary
#AF73FD #FDF473 #7CFD73
monochromatic
#6B03F2 #8D37FC #AF73FD #D1AFFE #EEE1FF

Accessibility & contrast

On white

3.14
#AF73FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AF73FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73FD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73FD#FFFFFF#000000##000000
##AF73FD1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#A08EAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af73fd;
/* rgb */ color: rgb(175, 115, 253);
/* oklch */ color: oklch(67.9% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#cb9dff',
    500: '#af73fd',
    950: '#000000',
  },
}
SCSS
$custom: #af73fd;
$custom-light: #cb9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#af73fd",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 266.087,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.19965,
    "h": 301.3
  },
  "luminance": 0.28467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF73FD

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

Preview Lab → · Contrast checker → · Palette generator →

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