#AF79AA#AF79AA

#AF79AA is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.7% C 0.095 H 329.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF79AA
RGBrgb(175, 121, 170)
HSLhsl(306, 25%, 58%)
HSVhsv(306, 31%, 69%)
CMYKcmyk(0%, 30.9%, 2.9%, 31.4%)
CIE-LABlab(57.74, 29.15, -17.64)
CIE-LCHlch(57.74, 34.07, 328.82°)
OKLaboklab(64.72% 0.0818 -0.0475)
OKLCHoklch(64.72% 0.095 329.8)
XYZxyz(31.7717, 25.6922, 41.3079)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79AA #79AF7E
analogous
#9979AF #AF79AA #AF798F
triadic
#AF79AA #AAAF79 #79AAAF
tetradic
#AF79AA #AF9979 #79AF7E #798FAF
square
#AF79AA #AF9979 #79AF7E #798FAF
split-complementary
#AF79AA #8FAF79 #79AF99
monochromatic
#6D4169 #93588E #AF79AA #C69FC2 #DDC6DB

Accessibility & contrast

On white

3.42
#AF79AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AF79AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79AA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79AA#FFFFFF#000000##000000
##AF79AA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AC
Deuteranopia (green-blind)
#848DA8
Tritanopia (blue-blind)
#B37D8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af79aa;
/* rgb */ color: rgb(175, 121, 170);
/* oklch */ color: oklch(64.7% 0.095 329.8);
Tailwind
colors: {
  custom: {
    50: '#c7a0c3',
    500: '#af79aa',
    950: '#000000',
  },
}
SCSS
$custom: #af79aa;
$custom-light: #c7a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af79aa",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 305.556,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.09461,
    "h": 329.8
  },
  "luminance": 0.25691
}

Semantic roles & 50–950 ramp

primary
#AF79AA
secondary
#B7CDB9
accent
#C26F66
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #AF79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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