#AF73CE#AF73CE

#AF73CE is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.3% C 0.145 H 313.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF73CE
RGBrgb(175, 115, 206)
HSLhsl(280, 48%, 63%)
HSVhsv(280, 44%, 81%)
CMYKcmyk(15%, 44.2%, 0%, 19.2%)
CIE-LABlab(57.88, 39.77, -37.97)
CIE-LCHlch(57.88, 54.99, 316.32°)
OKLaboklab(65.31% 0.0993 -0.1053)
OKLCHoklch(65.31% 0.145 313.3)
XYZxyz(34.9487, 25.8324, 61.5257)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73CE #92CE73
analogous
#8173CE #AF73CE #CE73C0
triadic
#AF73CE #CEAF73 #73CEAF
tetradic
#AF73CE #CE8173 #92CE73 #73C0CE
square
#AF73CE #CE8173 #92CE73 #73C0CE
split-complementary
#AF73CE #C0CE73 #73CE81
monochromatic
#733393 #9546BE #AF73CE #C9A0DE #E3CEEE

Accessibility & contrast

On white

3.41
#AF73CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AF73CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73CE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73CE#FFFFFF#000000##000000
##AF73CE1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#718DCB
Tritanopia (blue-blind)
#AC8097
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af73ce;
/* rgb */ color: rgb(175, 115, 206);
/* oklch */ color: oklch(65.3% 0.145 313.3);
Tailwind
colors: {
  custom: {
    50: '#c89cdd',
    500: '#af73ce',
    950: '#000000',
  },
}
SCSS
$custom: #af73ce;
$custom-light: #c89cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ce",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 279.56,
    "s": 48.148,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.14472,
    "h": 313.3
  },
  "luminance": 0.25832
}

Semantic roles & 50–950 ramp

primary
#AF73CE
secondary
#C9DFBE
accent
#BB2A5C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF73CE

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

Preview Lab → · Contrast checker → · Palette generator →

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