#AF73DA#AF73DA

#AF73DA is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.9% C 0.159 H 309.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF73DA
RGBrgb(175, 115, 218)
HSLhsl(275, 58%, 65%)
HSVhsv(275, 47%, 85%)
CMYKcmyk(19.7%, 47.2%, 0%, 14.5%)
CIE-LABlab(58.45, 42.40, -43.84)
CIE-LCHlch(58.45, 60.99, 314.04°)
OKLaboklab(65.93% 0.1011 -0.1223)
OKLCHoklch(65.93% 0.159 309.6)
XYZxyz(36.4624, 26.4379, 69.4983)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73DA #9EDA73
analogous
#7B73DA #AF73DA #DA73D2
triadic
#AF73DA #DAAF73 #73DAAF
tetradic
#AF73DA #DA7B73 #9EDA73 #73D2DA
square
#AF73DA #DA7B73 #9EDA73 #73D2DA
split-complementary
#AF73DA #D2DA73 #73DA7B
monochromatic
#732CA7 #9343CD #AF73DA #CBA3E7 #E6D4F4

Accessibility & contrast

On white

3.34
#AF73DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AF73DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73DA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73DA#FFFFFF#000000##000000
##AF73DA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#6A8ED7
Tritanopia (blue-blind)
#AA849C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af73da;
/* rgb */ color: rgb(175, 115, 218);
/* oklch */ color: oklch(65.9% 0.159 309.6);
Tailwind
colors: {
  custom: {
    50: '#c99de6',
    500: '#af73da',
    950: '#000000',
  },
}
SCSS
$custom: #af73da;
$custom-light: #c99de6;
$custom-dark: #000000;
JSON
{
  "hex": "#af73da",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 274.951,
    "s": 58.192,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65927,
    "c": 0.15864,
    "h": 309.6
  },
  "luminance": 0.26437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF73DA

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

Preview Lab → · Contrast checker → · Palette generator →

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