#AF79FF#AF79FF

#AF79FF is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.193 H 300.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AF79FF
RGBrgb(175, 121, 255)
HSLhsl(264, 100%, 74%)
HSVhsv(264, 53%, 100%)
CMYKcmyk(31.4%, 52.5%, 0%, 0%)
CIE-LABlab(61.66, 47.78, -59.29)
CIE-LCHlch(61.66, 76.15, 308.86°)
OKLaboklab(68.94% 0.0965 -0.1674)
OKLCHoklch(68.94% 0.193 300)
XYZxyz(42.5623, 30.0084, 98.1382)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79FF #C9FF79
analogous
#7986FF #AF79FF #F279FF
triadic
#AF79FF #FFAF79 #79FFAF
tetradic
#AF79FF #FF7986 #C9FF79 #79FFF2
square
#AF79FF #FF7986 #C9FF79 #79FFF2
split-complementary
#AF79FF #FFF279 #86FF79
monochromatic
#6600FE #8A3CFF #AF79FF #D4B6FF #EDE0FF

Accessibility & contrast

On white

3.00
#AF79FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AF79FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF79FF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79FF#FFFFFF#000000##000000
##AF79FF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4695FF
Deuteranopia (green-blind)
#5694FC
Tritanopia (blue-blind)
#9F93B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af79ff;
/* rgb */ color: rgb(175, 121, 255);
/* oklch */ color: oklch(68.9% 0.193 300.0);
Tailwind
colors: {
  custom: {
    50: '#caa1ff',
    500: '#af79ff',
    950: '#000000',
  },
}
SCSS
$custom: #af79ff;
$custom-light: #caa1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af79ff",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 264.179,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68941,
    "c": 0.19324,
    "h": 300
  },
  "luminance": 0.30009
}

Semantic roles & 50–950 ramp

primary
#AF79FF
secondary
#E9F7D4
accent
#E60089
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AF79FF

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

Preview Lab → · Contrast checker → · Palette generator →

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