#AF79DA#AF79DA

#AF79DA is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.149 H 308.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF79DA
RGBrgb(175, 121, 218)
HSLhsl(273, 57%, 66%)
HSVhsv(273, 44%, 85%)
CMYKcmyk(19.7%, 44.5%, 0%, 14.5%)
CIE-LABlab(59.75, 39.11, -41.78)
CIE-LCHlch(59.75, 57.23, 313.11°)
OKLaboklab(66.9% 0.0927 -0.1164)
OKLCHoklch(66.9% 0.149 308.5)
XYZxyz(37.1690, 27.8511, 69.7338)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79DA #A4DA79
analogous
#7F79DA #AF79DA #DA79D5
triadic
#AF79DA #DAAF79 #79DAAF
tetradic
#AF79DA #DA7F79 #A4DA79 #79D5DA
square
#AF79DA #DA7F79 #A4DA79 #79D5DA
split-complementary
#AF79DA #D5DA79 #79DA7F
monochromatic
#732FAA #9249CD #AF79DA #CCA9E7 #E8D9F4

Accessibility & contrast

On white

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

On black

6.57
#AF79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79DA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79DA#FFFFFF#000000##000000
##AF79DA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDD
Deuteranopia (green-blind)
#7091D7
Tritanopia (blue-blind)
#A9889F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af79da;
/* rgb */ color: rgb(175, 121, 218);
/* oklch */ color: oklch(66.9% 0.149 308.5);
Tailwind
colors: {
  custom: {
    50: '#c9a1e6',
    500: '#af79da',
    950: '#000000',
  },
}
SCSS
$custom: #af79da;
$custom-light: #c9a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af79da",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 273.402,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66902,
    "c": 0.14877,
    "h": 308.5
  },
  "luminance": 0.27851
}

Semantic roles & 50–950 ramp

primary
#AF79DA
secondary
#D6E7C8
accent
#C4216A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AF79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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