#AF79EA#AF79EA

#AF79EA is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.168 H 304.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AF79EA
RGBrgb(175, 121, 234)
HSLhsl(269, 73%, 70%)
HSVhsv(269, 48%, 92%)
CMYKcmyk(25.2%, 48.3%, 0%, 8.2%)
CIE-LABlab(60.54, 42.78, -49.47)
CIE-LCHlch(60.54, 65.40, 310.85°)
OKLaboklab(67.75% 0.0948 -0.1387)
OKLCHoklch(67.75% 0.168 304.4)
XYZxyz(39.3647, 28.7294, 81.2975)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79EA #B4EA79
analogous
#797CEA #AF79EA #E879EA
triadic
#AF79EA #EAAF79 #79EAAF
tetradic
#AF79EA #EA797C #B4EA79 #79EAE8
square
#AF79EA #EA797C #B4EA79 #79EAE8
split-complementary
#AF79EA #EAE879 #7CEA79
monochromatic
#7120C9 #8F44E2 #AF79EA #CFAEF2 #EEE3FB

Accessibility & contrast

On white

3.11
#AF79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AF79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79EA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79EA#FFFFFF#000000##000000
##AF79EA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#A58DA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af79ea;
/* rgb */ color: rgb(175, 121, 234);
/* oklch */ color: oklch(67.7% 0.168 304.4);
Tailwind
colors: {
  custom: {
    50: '#c9a1f1',
    500: '#af79ea',
    950: '#000000',
  },
}
SCSS
$custom: #af79ea;
$custom-light: #c9a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af79ea",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 268.673,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.16801,
    "h": 304.4
  },
  "luminance": 0.28729
}

Semantic roles & 50–950 ramp

primary
#AF79EA
secondary
#E0F0CF
accent
#D51177
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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