#AFA8BB#AFA8BB

#AFA8BB is a light, muted violet. Relative luminance 0.407; OKLCH L 74.3% C 0.028 H 302.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#AFA8BB
RGBrgb(175, 168, 187)
HSLhsl(262, 12%, 70%)
HSVhsv(262, 10%, 73%)
CMYKcmyk(6.4%, 10.2%, 0%, 26.7%)
CIE-LABlab(69.97, 6.15, -8.82)
CIE-LCHlch(69.97, 10.76, 304.88°)
OKLaboklab(74.34% 0.015 -0.0236)
OKLCHoklch(74.34% 0.028 302.4)
XYZxyz(40.6498, 40.7071, 52.7198)
Luminance0.4071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8BB #B4BBA8
analogous
#A8ABBB #AFA8BB #B9A8BB
triadic
#AFA8BB #BBAFA8 #A8BBAF
tetradic
#AFA8BB #BBA8AB #B4BBA8 #A8BBB9
square
#AFA8BB #BBA8AB #B4BBA8 #A8BBB9
split-complementary
#AFA8BB #BBB9A8 #ABBBA8
monochromatic
#716683 #8F86A0 #AFA8BB #CFCAD6 #EEEDF1

Accessibility & contrast

On white

2.30
#AFA8BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#AFA8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8BB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8BB#FFFFFF#000000##000000
##AFA8BB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5ABBC
Deuteranopia (green-blind)
#A6ABBA
Tritanopia (blue-blind)
#ADAAAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa8bb;
/* rgb */ color: rgb(175, 168, 187);
/* oklch */ color: oklch(74.3% 0.028 302.4);
Tailwind
colors: {
  custom: {
    50: '#c6c1cf',
    500: '#afa8bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa8bb;
$custom-light: #c6c1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8bb",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 187
  },
  "hsl": {
    "h": 262.105,
    "s": 12.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74343,
    "c": 0.02802,
    "h": 302.4
  },
  "luminance": 0.40707
}

Semantic roles & 50–950 ramp

primary
#AFA8BB
secondary
#E0E2DD
accent
#964F7C
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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