#AF73ED#AF73ED

#AF73ED is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.181 H 304.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF73ED
RGBrgb(175, 115, 237)
HSLhsl(270, 77%, 69%)
HSVhsv(270, 51%, 93%)
CMYKcmyk(26.2%, 51.5%, 0%, 7.1%)
CIE-LABlab(59.43, 46.73, -52.91)
CIE-LCHlch(59.43, 70.59, 311.45°)
OKLaboklab(66.97% 0.103 -0.1487)
OKLCHoklch(66.97% 0.181 304.7)
XYZxyz(39.0927, 27.4900, 83.3510)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73ED #B1ED73
analogous
#7374ED #AF73ED #EC73ED
triadic
#AF73ED #EDAF73 #73EDAF
tetradic
#AF73ED #ED7374 #B1ED73 #73EDEC
square
#AF73ED #ED7374 #B1ED73 #73EDEC
split-complementary
#AF73ED #EDEC73 #74ED73
monochromatic
#711ACB #903DE6 #AF73ED #CEA9F4 #EDDFFB

Accessibility & contrast

On white

3.23
#AF73ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AF73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73ED
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73ED#FFFFFF#000000##000000
##AF73ED1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#A489A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af73ed;
/* rgb */ color: rgb(175, 115, 237);
/* oklch */ color: oklch(67.0% 0.181 304.7);
Tailwind
colors: {
  custom: {
    50: '#ca9df3',
    500: '#af73ed',
    950: '#000000',
  },
}
SCSS
$custom: #af73ed;
$custom-light: #ca9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ed",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 269.508,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66969,
    "c": 0.18091,
    "h": 304.7
  },
  "luminance": 0.2749
}

Semantic roles & 50–950 ramp

primary
#AF73ED
secondary
#DEF0CC
accent
#D90C74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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