#AF73EB#AF73EB

#AF73EB is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.9% C 0.179 H 305.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF73EB
RGBrgb(175, 115, 235)
HSLhsl(270, 75%, 69%)
HSVhsv(270, 51%, 92%)
CMYKcmyk(25.5%, 51.1%, 0%, 7.8%)
CIE-LABlab(59.32, 46.27, -51.97)
CIE-LCHlch(59.32, 69.58, 311.68°)
OKLaboklab(66.86% 0.1028 -0.146)
OKLCHoklch(66.86% 0.179 305.2)
XYZxyz(38.8021, 27.3738, 81.8207)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73EB #AFEB73
analogous
#7373EB #AF73EB #EB73EB
triadic
#AF73EB #EBAF73 #73EBAF
tetradic
#AF73EB #EB7373 #AFEB73 #73EBEB
square
#AF73EB #EB7373 #AFEB73 #73EBEB
split-complementary
#AF73EB #EBEB73 #73EB73
monochromatic
#721CC7 #903DE3 #AF73EB #CEA9F3 #ECDEFA

Accessibility & contrast

On white

3.24
#AF73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AF73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73EB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73EB#FFFFFF#000000##000000
##AF73EB1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#A589A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af73eb;
/* rgb */ color: rgb(175, 115, 235);
/* oklch */ color: oklch(66.9% 0.179 305.2);
Tailwind
colors: {
  custom: {
    50: '#ca9df2',
    500: '#af73eb',
    950: '#000000',
  },
}
SCSS
$custom: #af73eb;
$custom-light: #ca9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#af73eb",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.17856,
    "h": 305.2
  },
  "luminance": 0.27374
}

Semantic roles & 50–950 ramp

primary
#AF73EB
secondary
#DDEFCB
accent
#D70E73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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