#AF73F2#AF73F2

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

Color values

HEX#AF73F2
RGBrgb(175, 115, 242)
HSLhsl(268, 83%, 70%)
HSVhsv(268, 52%, 95%)
CMYKcmyk(27.7%, 52.5%, 0%, 5.1%)
CIE-LABlab(59.70, 47.90, -55.26)
CIE-LCHlch(59.70, 73.13, 310.92°)
OKLaboklab(67.26% 0.1033 -0.1556)
OKLCHoklch(67.26% 0.187 303.6)
XYZxyz(39.8334, 27.7863, 87.2520)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73F2 #B6F273
analogous
#7377F2 #AF73F2 #EE73F2
triadic
#AF73F2 #F2AF73 #73F2AF
tetradic
#AF73F2 #F27377 #B6F273 #73F2EE
square
#AF73F2 #F27377 #B6F273 #73F2EE
split-complementary
#AF73F2 #F2EE73 #77F273
monochromatic
#7014D7 #8F3BED #AF73F2 #CFABF7 #EFE3FC

Accessibility & contrast

On white

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

On black

6.56
#AF73F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73F2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73F2#FFFFFF#000000##000000
##AF73F21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#A38BA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af73f2;
/* rgb */ color: rgb(175, 115, 242);
/* oklch */ color: oklch(67.3% 0.187 303.6);
Tailwind
colors: {
  custom: {
    50: '#ca9df7',
    500: '#af73f2',
    950: '#000000',
  },
}
SCSS
$custom: #af73f2;
$custom-light: #ca9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#af73f2",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 268.346,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.67256,
    "c": 0.18678,
    "h": 303.6
  },
  "luminance": 0.27786
}

Semantic roles & 50–950 ramp

primary
#AF73F2
secondary
#E1F2CF
accent
#DF0679
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73F2

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

Preview Lab → · Contrast checker → · Palette generator →

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