#AF73EF#AF73EF

#AF73EF is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.183 H 304.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF73EF
RGBrgb(175, 115, 239)
HSLhsl(269, 79%, 69%)
HSVhsv(269, 52%, 94%)
CMYKcmyk(26.8%, 51.9%, 0%, 6.3%)
CIE-LABlab(59.53, 47.20, -53.85)
CIE-LCHlch(59.53, 71.61, 311.23°)
OKLaboklab(67.08% 0.1031 -0.1515)
OKLCHoklch(67.08% 0.183 304.3)
XYZxyz(39.3865, 27.6076, 84.8985)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73EF #B3EF73
analogous
#7375EF #AF73EF #ED73EF
triadic
#AF73EF #EFAF73 #73EFAF
tetradic
#AF73EF #EF7375 #B3EF73 #73EFED
square
#AF73EF #EF7375 #B3EF73 #73EFED
split-complementary
#AF73EF #EFED73 #75EF73
monochromatic
#7118D0 #903CE9 #AF73EF #CEAAF5 #EEE1FC

Accessibility & contrast

On white

3.22
#AF73EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AF73EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73EF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73EF#FFFFFF#000000##000000
##AF73EF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#5D8FEC
Tritanopia (blue-blind)
#A48AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af73ef;
/* rgb */ color: rgb(175, 115, 239);
/* oklch */ color: oklch(67.1% 0.183 304.3);
Tailwind
colors: {
  custom: {
    50: '#ca9df5',
    500: '#af73ef',
    950: '#000000',
  },
}
SCSS
$custom: #af73ef;
$custom-light: #ca9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ef",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 269.032,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67083,
    "c": 0.18326,
    "h": 304.3
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#AF73EF
secondary
#DFF1CD
accent
#DC0A76
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF73EF

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

Preview Lab → · Contrast checker → · Palette generator →

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