#AF79BB#AF79BB

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

Color values

HEX#AF79BB
RGBrgb(175, 121, 187)
HSLhsl(289, 33%, 60%)
HSVhsv(289, 35%, 73%)
CMYKcmyk(6.4%, 35.3%, 0%, 26.7%)
CIE-LABlab(58.39, 32.47, -26.38)
CIE-LCHlch(58.39, 41.84, 320.92°)
OKLaboklab(65.43% 0.0864 -0.0721)
OKLCHoklch(65.43% 0.113 320.2)
XYZxyz(33.4851, 26.3775, 50.3315)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79BB #85BB79
analogous
#8E79BB #AF79BB #BB79A6
triadic
#AF79BB #BBAF79 #79BBAF
tetradic
#AF79BB #BB8E79 #85BB79 #79A6BB
square
#AF79BB #BB8E79 #85BB79 #79A6BB
split-complementary
#AF79BB #A6BB79 #79BB8E
monochromatic
#703E7B #9553A4 #AF79BB #C7A2D0 #DFCAE4

Accessibility & contrast

On white

3.35
#AF79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF79BB#FFFFFF#000000##000000
##AF79BB1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#7E8EB9
Tritanopia (blue-blind)
#B08191
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af79bb;
/* rgb */ color: rgb(175, 121, 187);
/* oklch */ color: oklch(65.4% 0.113 320.2);
Tailwind
colors: {
  custom: {
    50: '#c8a0cf',
    500: '#af79bb',
    950: '#000000',
  },
}
SCSS
$custom: #af79bb;
$custom-light: #c8a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af79bb",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 289.091,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65431,
    "c": 0.11258,
    "h": 320.2
  },
  "luminance": 0.26377
}

Semantic roles & 50–950 ramp

primary
#AF79BB
secondary
#C0D5BB
accent
#AB3A4F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AF79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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