#AF73DE#AF73DE

#AF73DE is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.163 H 308.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF73DE
RGBrgb(175, 115, 222)
HSLhsl(274, 62%, 66%)
HSVhsv(274, 48%, 87%)
CMYKcmyk(21.2%, 48.2%, 0%, 12.9%)
CIE-LABlab(58.65, 43.30, -45.77)
CIE-LCHlch(58.65, 63.00, 313.41°)
OKLaboklab(66.14% 0.1016 -0.1279)
OKLCHoklch(66.14% 0.163 308.4)
XYZxyz(36.9922, 26.6498, 72.2883)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73DE #A2DE73
analogous
#7973DE #AF73DE #DE73D7
triadic
#AF73DE #DEAF73 #73DEAF
tetradic
#AF73DE #DE7973 #A2DE73 #73D7DE
square
#AF73DE #DE7973 #A2DE73 #73D7DE
split-complementary
#AF73DE #D7DE73 #73DE79
monochromatic
#7329AE #9341D2 #AF73DE #CBA5EA #E8D6F5

Accessibility & contrast

On white

3.32
#AF73DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AF73DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73DE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73DE#FFFFFF#000000##000000
##AF73DE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE2
Deuteranopia (green-blind)
#688EDB
Tritanopia (blue-blind)
#A9859E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af73de;
/* rgb */ color: rgb(175, 115, 222);
/* oklch */ color: oklch(66.1% 0.163 308.4);
Tailwind
colors: {
  custom: {
    50: '#c99de9',
    500: '#af73de',
    950: '#000000',
  },
}
SCSS
$custom: #af73de;
$custom-light: #c99de9;
$custom-dark: #000000;
JSON
{
  "hex": "#af73de",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 273.645,
    "s": 61.85,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6614,
    "c": 0.16331,
    "h": 308.4
  },
  "luminance": 0.26649
}

Semantic roles & 50–950 ramp

primary
#AF73DE
secondary
#D4E8C5
accent
#CA1C68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF73DE

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

Preview Lab → · Contrast checker → · Palette generator →

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