#AF79BF#AF79BF

#AF79BF is a light, moderate purple. Relative luminance 0.266; OKLCH L 65.6% C 0.117 H 318.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF79BF
RGBrgb(175, 121, 191)
HSLhsl(286, 35%, 61%)
HSVhsv(286, 37%, 75%)
CMYKcmyk(8.4%, 36.6%, 0%, 25.1%)
CIE-LABlab(58.56, 33.29, -28.40)
CIE-LCHlch(58.56, 43.76, 319.53°)
OKLaboklab(65.61% 0.0874 -0.0779)
OKLCHoklch(65.61% 0.117 318.3)
XYZxyz(33.9192, 26.5512, 52.6182)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79BF #89BF79
analogous
#8C79BF #AF79BF #BF79AC
triadic
#AF79BF #BFAF79 #79BFAF
tetradic
#AF79BF #BF8C79 #89BF79 #79ACBF
square
#AF79BF #BF8C79 #89BF79 #79ACBF
split-complementary
#AF79BF #ACBF79 #79BF8C
monochromatic
#713D80 #9551AA #AF79BF #C8A2D3 #E0CCE7

Accessibility & contrast

On white

3.33
#AF79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AF79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79BF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79BF#FFFFFF#000000##000000
##AF79BF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C2
Deuteranopia (green-blind)
#7C8FBD
Tritanopia (blue-blind)
#AF8193
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af79bf;
/* rgb */ color: rgb(175, 121, 191);
/* oklch */ color: oklch(65.6% 0.117 318.3);
Tailwind
colors: {
  custom: {
    50: '#c8a0d2',
    500: '#af79bf',
    950: '#000000',
  },
}
SCSS
$custom: #af79bf;
$custom-light: #c8a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af79bf",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 286.286,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65608,
    "c": 0.11708,
    "h": 318.3
  },
  "luminance": 0.2655
}

Semantic roles & 50–950 ramp

primary
#AF79BF
secondary
#C3D7BD
accent
#AE3752
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AF79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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