#AF74EE#AF74EE

#AF74EE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.181 H 304.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF74EE
RGBrgb(175, 116, 238)
HSLhsl(269, 78%, 69%)
HSVhsv(269, 51%, 93%)
CMYKcmyk(26.5%, 51.3%, 0%, 6.7%)
CIE-LABlab(59.69, 46.43, -53.05)
CIE-LCHlch(59.69, 70.50, 311.19°)
OKLaboklab(67.18% 0.1018 -0.1491)
OKLCHoklch(67.18% 0.181 304.3)
XYZxyz(39.3539, 27.7779, 84.1608)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74EE #B3EE74
analogous
#7476EE #AF74EE #EC74EE
triadic
#AF74EE #EEAF74 #74EEAF
tetradic
#AF74EE #EE7476 #B3EE74 #74EEEC
square
#AF74EE #EE7476 #B3EE74 #74EEEC
split-complementary
#AF74EE #EEEC74 #76EE74
monochromatic
#7119CE #903DE7 #AF74EE #CEABF5 #EEE1FB

Accessibility & contrast

On white

3.20
#AF74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AF74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74EE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74EE#FFFFFF#000000##000000
##AF74EE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#A48AA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af74ee;
/* rgb */ color: rgb(175, 116, 238);
/* oklch */ color: oklch(67.2% 0.181 304.3);
Tailwind
colors: {
  custom: {
    50: '#ca9ef4',
    500: '#af74ee',
    950: '#000000',
  },
}
SCSS
$custom: #af74ee;
$custom-light: #ca9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#af74ee",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 269.016,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6718,
    "c": 0.18055,
    "h": 304.3
  },
  "luminance": 0.27778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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