#AF73F3#AF73F3

#AF73F3 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.188 H 303.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF73F3
RGBrgb(175, 115, 243)
HSLhsl(268, 84%, 70%)
HSVhsv(268, 53%, 95%)
CMYKcmyk(28%, 52.7%, 0%, 4.7%)
CIE-LABlab(59.75, 48.14, -55.72)
CIE-LCHlch(59.75, 73.64, 310.82°)
OKLaboklab(67.31% 0.1034 -0.1569)
OKLCHoklch(67.31% 0.188 303.4)
XYZxyz(39.9840, 27.8466, 88.0451)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73F3 #B7F373
analogous
#7377F3 #AF73F3 #EF73F3
triadic
#AF73F3 #F3AF73 #73F3AF
tetradic
#AF73F3 #F37377 #B7F373 #73F3EF
square
#AF73F3 #F37377 #B7F373 #73F3EF
split-complementary
#AF73F3 #F3EF73 #77F373
monochromatic
#7013D9 #8F3BEE #AF73F3 #CFABF8 #EFE3FD

Accessibility & contrast

On white

3.20
#AF73F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AF73F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73F3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73F3#FFFFFF#000000##000000
##AF73F31.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468FF7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#A38BA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af73f3;
/* rgb */ color: rgb(175, 115, 243);
/* oklch */ color: oklch(67.3% 0.188 303.4);
Tailwind
colors: {
  custom: {
    50: '#ca9df8',
    500: '#af73f3',
    950: '#000000',
  },
}
SCSS
$custom: #af73f3;
$custom-light: #ca9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#af73f3",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 268.125,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67314,
    "c": 0.18794,
    "h": 303.4
  },
  "luminance": 0.27846
}

Semantic roles & 50–950 ramp

primary
#AF73F3
secondary
#E2F3CF
accent
#E1057A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73F3

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

Preview Lab → · Contrast checker → · Palette generator →

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