#AF79BC#AF79BC

#AF79BC is a light, moderate purple. Relative luminance 0.264; OKLCH L 65.5% C 0.114 H 319.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF79BC
RGBrgb(175, 121, 188)
HSLhsl(288, 33%, 61%)
HSVhsv(288, 36%, 74%)
CMYKcmyk(6.9%, 35.6%, 0%, 26.3%)
CIE-LABlab(58.43, 32.68, -26.88)
CIE-LCHlch(58.43, 42.31, 320.56°)
OKLaboklab(65.48% 0.0867 -0.0736)
OKLCHoklch(65.48% 0.114 319.7)
XYZxyz(33.5925, 26.4205, 50.8973)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79BC #86BC79
analogous
#8D79BC #AF79BC #BC79A7
triadic
#AF79BC #BCAF79 #79BCAF
tetradic
#AF79BC #BC8D79 #86BC79 #79A7BC
square
#AF79BC #BC8D79 #86BC79 #79A7BC
split-complementary
#AF79BC #A7BC79 #79BC8D
monochromatic
#703E7C #9553A5 #AF79BC #C7A2D0 #E0CBE5

Accessibility & contrast

On white

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

On black

6.28
#AF79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79BC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79BC#FFFFFF#000000##000000
##AF79BC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#7E8EBA
Tritanopia (blue-blind)
#B08192
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af79bc;
/* rgb */ color: rgb(175, 121, 188);
/* oklch */ color: oklch(65.5% 0.114 319.7);
Tailwind
colors: {
  custom: {
    50: '#c8a0d0',
    500: '#af79bc',
    950: '#000000',
  },
}
SCSS
$custom: #af79bc;
$custom-light: #c8a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af79bc",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 288.358,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65475,
    "c": 0.1137,
    "h": 319.7
  },
  "luminance": 0.2642
}

Semantic roles & 50–950 ramp

primary
#AF79BC
secondary
#C1D5BC
accent
#AC3950
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AF79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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