#AF79EE#AF79EE

#AF79EE is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.173 H 303.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AF79EE
RGBrgb(175, 121, 238)
HSLhsl(268, 77%, 70%)
HSVhsv(268, 49%, 93%)
CMYKcmyk(26.5%, 49.2%, 0%, 6.7%)
CIE-LABlab(60.75, 43.72, -51.37)
CIE-LCHlch(60.75, 67.45, 310.40°)
OKLaboklab(67.97% 0.0952 -0.1442)
OKLCHoklch(67.97% 0.173 303.4)
XYZxyz(39.9458, 28.9618, 84.3581)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79EE #B8EE79
analogous
#797EEE #AF79EE #E979EE
triadic
#AF79EE #EEAF79 #79EEAF
tetradic
#AF79EE #EE797E #B8EE79 #79EEE9
square
#AF79EE #EE797E #B8EE79 #79EEE9
split-complementary
#AF79EE #EEE979 #7EEE79
monochromatic
#6F1BD2 #8F43E7 #AF79EE #CFAFF5 #EFE4FC

Accessibility & contrast

On white

3.09
#AF79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AF79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79EE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79EE#FFFFFF#000000##000000
##AF79EE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#A48EA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af79ee;
/* rgb */ color: rgb(175, 121, 238);
/* oklch */ color: oklch(68.0% 0.173 303.4);
Tailwind
colors: {
  custom: {
    50: '#c9a1f4',
    500: '#af79ee',
    950: '#000000',
  },
}
SCSS
$custom: #af79ee;
$custom-light: #c9a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af79ee",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 267.692,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67968,
    "c": 0.17284,
    "h": 303.4
  },
  "luminance": 0.28962
}

Semantic roles & 50–950 ramp

primary
#AF79EE
secondary
#E3F1D1
accent
#DA0C7B
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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