#AF79F9#AF79F9

#AF79F9 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.186 H 301.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AF79F9
RGBrgb(175, 121, 249)
HSLhsl(265, 91%, 73%)
HSVhsv(265, 51%, 98%)
CMYKcmyk(29.7%, 51.4%, 0%, 2.4%)
CIE-LABlab(61.33, 46.33, -56.52)
CIE-LCHlch(61.33, 73.08, 309.34°)
OKLaboklab(68.59% 0.0962 -0.1593)
OKLCHoklch(68.59% 0.186 301.1)
XYZxyz(41.6115, 29.6281, 93.1307)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79F9 #C3F979
analogous
#7983F9 #AF79F9 #EF79F9
triadic
#AF79F9 #F9AF79 #79F9AF
tetradic
#AF79F9 #F97983 #C3F979 #79F9EF
square
#AF79F9 #F97983 #C3F979 #79F9EF
split-complementary
#AF79F9 #F9EF79 #83F979
monochromatic
#6A0BED #8C3EF6 #AF79F9 #D2B4FC #EEE2FE

Accessibility & contrast

On white

3.03
#AF79F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AF79F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79F9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79F9#FFFFFF#000000##000000
##AF79F91.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#5C93F6
Tritanopia (blue-blind)
#A191AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af79f9;
/* rgb */ color: rgb(175, 121, 249);
/* oklch */ color: oklch(68.6% 0.186 301.1);
Tailwind
colors: {
  custom: {
    50: '#caa1fc',
    500: '#af79f9',
    950: '#000000',
  },
}
SCSS
$custom: #af79f9;
$custom-light: #caa1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af79f9",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 265.313,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.18605,
    "h": 301.1
  },
  "luminance": 0.29628
}

Semantic roles & 50–950 ramp

primary
#AF79F9
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #AF79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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