#AF79DB#AF79DB

#AF79DB is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.150 H 308.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF79DB
RGBrgb(175, 121, 219)
HSLhsl(273, 58%, 67%)
HSVhsv(273, 45%, 86%)
CMYKcmyk(20.1%, 44.7%, 0%, 14.1%)
CIE-LABlab(59.80, 39.34, -42.27)
CIE-LCHlch(59.80, 57.74, 312.94°)
OKLaboklab(66.95% 0.0929 -0.1178)
OKLCHoklch(66.95% 0.15 308.3)
XYZxyz(37.3003, 27.9036, 70.4250)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79DB #A5DB79
analogous
#7E79DB #AF79DB #DB79D6
triadic
#AF79DB #DBAF79 #79DBAF
tetradic
#AF79DB #DB7E79 #A5DB79 #79D6DB
square
#AF79DB #DB7E79 #A5DB79 #79D6DB
split-complementary
#AF79DB #D6DB79 #79DB7E
monochromatic
#732EAC #9249CE #AF79DB #CCA9E8 #E9D9F5

Accessibility & contrast

On white

3.19
#AF79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AF79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79DB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79DB#FFFFFF#000000##000000
##AF79DB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#A989A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af79db;
/* rgb */ color: rgb(175, 121, 219);
/* oklch */ color: oklch(67.0% 0.150 308.3);
Tailwind
colors: {
  custom: {
    50: '#c9a1e6',
    500: '#af79db',
    950: '#000000',
  },
}
SCSS
$custom: #af79db;
$custom-light: #c9a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af79db",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 273.061,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66953,
    "c": 0.14997,
    "h": 308.3
  },
  "luminance": 0.27903
}

Semantic roles & 50–950 ramp

primary
#AF79DB
secondary
#D6E8C8
accent
#C5206A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AF79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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