#AF73DB#AF73DB

#AF73DB is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.0% C 0.160 H 309.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF73DB
RGBrgb(175, 115, 219)
HSLhsl(275, 59%, 65%)
HSVhsv(275, 47%, 86%)
CMYKcmyk(20.1%, 47.5%, 0%, 14.1%)
CIE-LABlab(58.50, 42.62, -44.32)
CIE-LCHlch(58.50, 61.49, 313.88°)
OKLaboklab(65.98% 0.1012 -0.1237)
OKLCHoklch(65.98% 0.16 309.3)
XYZxyz(36.5937, 26.4904, 70.1895)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73DB #9FDB73
analogous
#7B73DB #AF73DB #DB73D3
triadic
#AF73DB #DBAF73 #73DBAF
tetradic
#AF73DB #DB7B73 #9FDB73 #73D3DB
square
#AF73DB #DB7B73 #9FDB73 #73D3DB
split-complementary
#AF73DB #D3DB73 #73DB7B
monochromatic
#732BA8 #9342CE #AF73DB #CBA4E8 #E7D4F4

Accessibility & contrast

On white

3.33
#AF73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AF73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73DB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73DB#FFFFFF#000000##000000
##AF73DB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#A9849D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af73db;
/* rgb */ color: rgb(175, 115, 219);
/* oklch */ color: oklch(66.0% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#c99de6',
    500: '#af73db',
    950: '#000000',
  },
}
SCSS
$custom: #af73db;
$custom-light: #c99de6;
$custom-dark: #000000;
JSON
{
  "hex": "#af73db",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 274.615,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6598,
    "c": 0.1598,
    "h": 309.3
  },
  "luminance": 0.2649
}

Semantic roles & 50–950 ramp

primary
#AF73DB
secondary
#D2E6C3
accent
#C71F66
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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