#AF79BD#AF79BD

#AF79BD is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.5% C 0.115 H 319.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF79BD
RGBrgb(175, 121, 189)
HSLhsl(288, 34%, 61%)
HSVhsv(288, 36%, 74%)
CMYKcmyk(7.4%, 36%, 0%, 25.9%)
CIE-LABlab(58.47, 32.88, -27.39)
CIE-LCHlch(58.47, 42.79, 320.20°)
OKLaboklab(65.52% 0.0869 -0.075)
OKLCHoklch(65.52% 0.115 319.2)
XYZxyz(33.7007, 26.4638, 51.4670)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79BD #87BD79
analogous
#8D79BD #AF79BD #BD79A9
triadic
#AF79BD #BDAF79 #79BDAF
tetradic
#AF79BD #BD8D79 #87BD79 #79A9BD
square
#AF79BD #BD8D79 #87BD79 #79A9BD
split-complementary
#AF79BD #A9BD79 #79BD8D
monochromatic
#713E7E #9552A7 #AF79BD #C7A2D1 #E0CBE5

Accessibility & contrast

On white

3.34
#AF79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AF79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79BD#FFFFFF#000000##000000
##AF79BD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C0
Deuteranopia (green-blind)
#7D8FBB
Tritanopia (blue-blind)
#B08192
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af79bd;
/* rgb */ color: rgb(175, 121, 189);
/* oklch */ color: oklch(65.5% 0.115 319.2);
Tailwind
colors: {
  custom: {
    50: '#c8a0d1',
    500: '#af79bd',
    950: '#000000',
  },
}
SCSS
$custom: #af79bd;
$custom-light: #c8a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af79bd",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 287.647,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65519,
    "c": 0.11482,
    "h": 319.2
  },
  "luminance": 0.26463
}

Semantic roles & 50–950 ramp

primary
#AF79BD
secondary
#C1D6BC
accent
#AD3951
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AF79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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