#AFA2B8#AFA2B8

#AFA2B8 is a light, muted violet. Relative luminance 0.384; OKLCH L 73.0% C 0.034 H 311.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AFA2B8
RGBrgb(175, 162, 184)
HSLhsl(275, 13%, 68%)
HSVhsv(275, 12%, 72%)
CMYKcmyk(4.9%, 12%, 0%, 27.8%)
CIE-LABlab(68.33, 8.86, -9.61)
CIE-LCHlch(68.33, 13.08, 312.68°)
OKLaboklab(73.03% 0.0229 -0.0258)
OKLCHoklch(73.03% 0.034 311.6)
XYZxyz(39.2498, 38.4155, 50.6853)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B8 #ABB8A2
analogous
#A4A2B8 #AFA2B8 #B8A2B6
triadic
#AFA2B8 #B8AFA2 #A2B8AF
tetradic
#AFA2B8 #B8A4A2 #ABB8A2 #A2B6B8
square
#AFA2B8 #B8A4A2 #ABB8A2 #A2B6B8
split-complementary
#AFA2B8 #B6B8A2 #A2B8A4
monochromatic
#73617F #917F9E #AFA2B8 #CDC5D2 #EBE7ED

Accessibility & contrast

On white

2.42
#AFA2B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AFA2B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B8#FFFFFF#000000##000000
##AFA2B81.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA6B9
Deuteranopia (green-blind)
#A2A7B7
Tritanopia (blue-blind)
#AEA4A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2b8;
/* rgb */ color: rgb(175, 162, 184);
/* oklch */ color: oklch(73.0% 0.034 311.6);
Tailwind
colors: {
  custom: {
    50: '#c7bdcd',
    500: '#afa2b8',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b8;
$custom-light: #c7bdcd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b8",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 184
  },
  "hsl": {
    "h": 275.455,
    "s": 13.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7303,
    "c": 0.03447,
    "h": 311.6
  },
  "luminance": 0.38415
}

Semantic roles & 50–950 ramp

primary
#AFA2B8
secondary
#DADED8
accent
#984E6C
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B8

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

Preview Lab → · Contrast checker → · Palette generator →

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