#AFA2BF#AFA2BF

#AFA2BF is a light, muted violet. Relative luminance 0.387; OKLCH L 73.3% C 0.044 H 305.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AFA2BF
RGBrgb(175, 162, 191)
HSLhsl(267, 18%, 69%)
HSVhsv(267, 15%, 75%)
CMYKcmyk(8.4%, 15.2%, 0%, 25.1%)
CIE-LABlab(68.55, 10.28, -13.17)
CIE-LCHlch(68.55, 16.71, 307.98°)
OKLaboklab(73.27% 0.0254 -0.0355)
OKLCHoklch(73.27% 0.044 305.6)
XYZxyz(40.0018, 38.7163, 54.6457)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2BF #B2BFA2
analogous
#A2A4BF #AFA2BF #BEA2BF
triadic
#AFA2BF #BFAFA2 #A2BFAF
tetradic
#AFA2BF #BFA2A4 #B2BFA2 #A2BFBE
square
#AFA2BF #BFA2A4 #B2BFA2 #A2BFBE
split-complementary
#AFA2BF #BFBEA2 #A4BFA2
monochromatic
#715E89 #907EA6 #AFA2BF #CEC6D8 #EDEBF1

Accessibility & contrast

On white

2.40
#AFA2BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AFA2BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2BF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2BF#FFFFFF#000000##000000
##AFA2BF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA7C0
Deuteranopia (green-blind)
#A0A7BE
Tritanopia (blue-blind)
#ADA6AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2bf;
/* rgb */ color: rgb(175, 162, 191);
/* oklch */ color: oklch(73.3% 0.044 305.6);
Tailwind
colors: {
  custom: {
    50: '#c7bdd2',
    500: '#afa2bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa2bf;
$custom-light: #c7bdd2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2bf",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 191
  },
  "hsl": {
    "h": 266.897,
    "s": 18.471,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73273,
    "c": 0.04366,
    "h": 305.6
  },
  "luminance": 0.38716
}

Semantic roles & 50–950 ramp

primary
#AFA2BF
secondary
#DFE3DA
accent
#9D4977
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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