#AF73EE#AF73EE

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

Color values

HEX#AF73EE
RGBrgb(175, 115, 238)
HSLhsl(269, 78%, 69%)
HSVhsv(269, 52%, 93%)
CMYKcmyk(26.5%, 51.7%, 0%, 6.7%)
CIE-LABlab(59.48, 46.96, -53.38)
CIE-LCHlch(59.48, 71.10, 311.34°)
OKLaboklab(67.03% 0.1031 -0.1501)
OKLCHoklch(67.03% 0.182 304.5)
XYZxyz(39.2392, 27.5486, 84.1226)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73EE #B2EE73
analogous
#7375EE #AF73EE #EC73EE
triadic
#AF73EE #EEAF73 #73EEAF
tetradic
#AF73EE #EE7375 #B2EE73 #73EEEC
square
#AF73EE #EE7375 #B2EE73 #73EEEC
split-complementary
#AF73EE #EEEC73 #75EE73
monochromatic
#7119CE #903CE7 #AF73EE #CEAAF5 #EDE0FB

Accessibility & contrast

On white

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

On black

6.51
#AF73EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73EE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73EE#FFFFFF#000000##000000
##AF73EE1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#A48AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af73ee;
/* rgb */ color: rgb(175, 115, 238);
/* oklch */ color: oklch(67.0% 0.182 304.5);
Tailwind
colors: {
  custom: {
    50: '#ca9df4',
    500: '#af73ee',
    950: '#000000',
  },
}
SCSS
$custom: #af73ee;
$custom-light: #ca9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ee",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 269.268,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.18208,
    "h": 304.5
  },
  "luminance": 0.27548
}

Semantic roles & 50–950 ramp

primary
#AF73EE
secondary
#DFF0CD
accent
#DB0B75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF73EE

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

Preview Lab → · Contrast checker → · Palette generator →

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