#AFA5BB#AFA5BB

#AFA5BB is a light, muted violet. Relative luminance 0.396; OKLCH L 73.7% C 0.033 H 306.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFA5BB
RGBrgb(175, 165, 187)
HSLhsl(267, 14%, 69%)
HSVhsv(267, 12%, 73%)
CMYKcmyk(6.4%, 11.8%, 0%, 26.7%)
CIE-LABlab(69.19, 7.81, -9.98)
CIE-LCHlch(69.19, 12.67, 308.02°)
OKLaboklab(73.74% 0.0195 -0.0268)
OKLCHoklch(73.74% 0.033 306.1)
XYZxyz(40.1024, 39.6122, 52.5373)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5BB #B1BBA5
analogous
#A5A6BB #AFA5BB #BAA5BB
triadic
#AFA5BB #BBAFA5 #A5BBAF
tetradic
#AFA5BB #BBA5A6 #B1BBA5 #A5BBBA
square
#AFA5BB #BBA5A6 #B1BBA5 #A5BBBA
split-complementary
#AFA5BB #BBBAA5 #A6BBA5
monochromatic
#716383 #9082A1 #AFA5BB #CEC8D5 #EDEBF0

Accessibility & contrast

On white

2.35
#AFA5BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFA5BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5BB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5BB#FFFFFF#000000##000000
##AFA5BB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A9BC
Deuteranopia (green-blind)
#A3A9BA
Tritanopia (blue-blind)
#ADA8AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa5bb;
/* rgb */ color: rgb(175, 165, 187);
/* oklch */ color: oklch(73.7% 0.033 306.1);
Tailwind
colors: {
  custom: {
    50: '#c7bfcf',
    500: '#afa5bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa5bb;
$custom-light: #c7bfcf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5bb",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 187
  },
  "hsl": {
    "h": 267.273,
    "s": 13.924,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73736,
    "c": 0.03314,
    "h": 306.1
  },
  "luminance": 0.39612
}

Semantic roles & 50–950 ramp

primary
#AFA5BB
secondary
#DEE1DB
accent
#984D76
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA5BB

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

Preview Lab → · Contrast checker → · Palette generator →

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