#AFA5BF#AFA5BF

#AFA5BF is a light, muted violet. Relative luminance 0.398; OKLCH L 73.9% C 0.039 H 302.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AFA5BF
RGBrgb(175, 165, 191)
HSLhsl(263, 17%, 70%)
HSVhsv(263, 14%, 75%)
CMYKcmyk(8.4%, 13.6%, 0%, 25.1%)
CIE-LABlab(69.32, 8.62, -12.01)
CIE-LCHlch(69.32, 14.78, 305.65°)
OKLaboklab(73.87% 0.0209 -0.0323)
OKLCHoklch(73.87% 0.039 302.9)
XYZxyz(40.5366, 39.7858, 54.8240)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5BF #B5BFA5
analogous
#A5A8BF #AFA5BF #BCA5BF
triadic
#AFA5BF #BFAFA5 #A5BFAF
tetradic
#AFA5BF #BFA5A8 #B5BFA5 #A5BFBC
square
#AFA5BF #BFA5A8 #B5BFA5 #A5BFBC
split-complementary
#AFA5BF #BFBCA5 #A8BFA5
monochromatic
#706189 #8F81A6 #AFA5BF #CFC9D8 #EFEDF2

Accessibility & contrast

On white

2.34
#AFA5BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#AFA5BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5BF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5BF#FFFFFF#000000##000000
##AFA5BF1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A9C0
Deuteranopia (green-blind)
#A2A9BE
Tritanopia (blue-blind)
#ADA8AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa5bf;
/* rgb */ color: rgb(175, 165, 191);
/* oklch */ color: oklch(73.9% 0.039 302.9);
Tailwind
colors: {
  custom: {
    50: '#c7bfd2',
    500: '#afa5bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa5bf;
$custom-light: #c7bfd2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5bf",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 191
  },
  "hsl": {
    "h": 263.077,
    "s": 16.883,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.03854,
    "h": 302.9
  },
  "luminance": 0.39786
}

Semantic roles & 50–950 ramp

primary
#AFA5BF
secondary
#E1E4DC
accent
#9B4A7C
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA5BF

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

Preview Lab → · Contrast checker → · Palette generator →

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