#AF98BB#AF98BB

#AF98BB is a light, muted violet. Relative luminance 0.352; OKLCH L 71.2% C 0.056 H 314.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AF98BB
RGBrgb(175, 152, 187)
HSLhsl(279, 20%, 66%)
HSVhsv(279, 19%, 73%)
CMYKcmyk(6.4%, 18.7%, 0%, 26.7%)
CIE-LABlab(65.87, 15.04, -14.97)
CIE-LCHlch(65.87, 21.22, 315.15°)
OKLaboklab(71.16% 0.0391 -0.0404)
OKLCHoklch(71.16% 0.056 314.1)
XYZxyz(37.8756, 35.1587, 51.7951)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF98BB #A4BB98
analogous
#9E98BB #AF98BB #BB98B6
triadic
#AF98BB #BBAF98 #98BBAF
tetradic
#AF98BB #BB9E98 #A4BB98 #98B6BB
square
#AF98BB #BB9E98 #A4BB98 #98B6BB
split-complementary
#AF98BB #B6BB98 #98BB9E
monochromatic
#735682 #9273A3 #AF98BB #CCBDD3 #E8E2EC

Accessibility & contrast

On white

2.61
#AF98BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#AF98BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF98BB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF98BB#FFFFFF#000000##000000
##AF98BB1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#949FBD
Deuteranopia (green-blind)
#98A1BA
Tritanopia (blue-blind)
#AE9CA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af98bb;
/* rgb */ color: rgb(175, 152, 187);
/* oklch */ color: oklch(71.2% 0.056 314.1);
Tailwind
colors: {
  custom: {
    50: '#c7b6cf',
    500: '#af98bb',
    950: '#000000',
  },
}
SCSS
$custom: #af98bb;
$custom-light: #c7b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af98bb",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 279.429,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71157,
    "c": 0.0562,
    "h": 314.1
  },
  "luminance": 0.35158
}

Semantic roles & 50–950 ramp

primary
#AF98BB
secondary
#D6DDD2
accent
#9F4765
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #AF98BB

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

Preview Lab → · Contrast checker → · Palette generator →

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