#AF73F4#AF73F4

#AF73F4 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.4% C 0.189 H 303.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF73F4
RGBrgb(175, 115, 244)
HSLhsl(268, 85%, 70%)
HSVhsv(268, 53%, 96%)
CMYKcmyk(28.3%, 52.9%, 0%, 4.3%)
CIE-LABlab(59.80, 48.37, -56.19)
CIE-LCHlch(59.80, 74.14, 310.72°)
OKLaboklab(67.37% 0.1035 -0.1583)
OKLCHoklch(67.37% 0.189 303.2)
XYZxyz(40.1354, 27.9071, 88.8426)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73F4 #B8F473
analogous
#7377F4 #AF73F4 #EF73F4
triadic
#AF73F4 #F4AF73 #73F4AF
tetradic
#AF73F4 #F47377 #B8F473 #73F4EF
square
#AF73F4 #F47377 #B8F473 #73F4EF
split-complementary
#AF73F4 #F4EF73 #77F473
monochromatic
#6F11DB #8F3AF0 #AF73F4 #CFACF8 #EFE3FD

Accessibility & contrast

On white

3.19
#AF73F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AF73F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73F4
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73F4#FFFFFF#000000##000000
##AF73F41.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468FF8
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#A28BA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af73f4;
/* rgb */ color: rgb(175, 115, 244);
/* oklch */ color: oklch(67.4% 0.189 303.2);
Tailwind
colors: {
  custom: {
    50: '#ca9df8',
    500: '#af73f4',
    950: '#000000',
  },
}
SCSS
$custom: #af73f4;
$custom-light: #ca9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#af73f4",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 267.907,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67372,
    "c": 0.18912,
    "h": 303.2
  },
  "luminance": 0.27907
}

Semantic roles & 50–950 ramp

primary
#AF73F4
secondary
#E3F3D0
accent
#E2047B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73F4

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

Preview Lab → · Contrast checker → · Palette generator →

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