#AFA6BF#AFA6BF

#AFA6BF is a light, muted violet. Relative luminance 0.401; OKLCH L 74.1% C 0.037 H 301.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#AFA6BF
RGBrgb(175, 166, 191)
HSLhsl(262, 16%, 70%)
HSVhsv(262, 13%, 75%)
CMYKcmyk(8.4%, 13.1%, 0%, 25.1%)
CIE-LABlab(69.57, 8.06, -11.63)
CIE-LCHlch(69.57, 14.15, 304.75°)
OKLaboklab(74.08% 0.0195 -0.0313)
OKLCHoklch(74.08% 0.037 301.9)
XYZxyz(40.7176, 40.1480, 54.8843)
Luminance0.4015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6BF #B6BFA6
analogous
#A6A9BF #AFA6BF #BCA6BF
triadic
#AFA6BF #BFAFA6 #A6BFAF
tetradic
#AFA6BF #BFA6A9 #B6BFA6 #A6BFBC
square
#AFA6BF #BFA6A9 #B6BFA6 #A6BFBC
split-complementary
#AFA6BF #BFBCA6 #A9BFA6
monochromatic
#706288 #8F82A5 #AFA6BF #CFCAD9 #EFEDF2

Accessibility & contrast

On white

2.33
#AFA6BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#AFA6BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6BF
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6BF#FFFFFF#000000##000000
##AFA6BF1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2AAC0
Deuteranopia (green-blind)
#A3AABE
Tritanopia (blue-blind)
#ADA9AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa6bf;
/* rgb */ color: rgb(175, 166, 191);
/* oklch */ color: oklch(74.1% 0.037 301.9);
Tailwind
colors: {
  custom: {
    50: '#c7c0d2',
    500: '#afa6bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa6bf;
$custom-light: #c7c0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6bf",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 191
  },
  "hsl": {
    "h": 261.6,
    "s": 16.34,
    "l": 70
  },
  "oklch": {
    "l": 0.74075,
    "c": 0.03685,
    "h": 301.9
  },
  "luminance": 0.40148
}

Semantic roles & 50–950 ramp

primary
#AFA6BF
secondary
#E1E4DD
accent
#9B4B7E
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA6BF

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

Preview Lab → · Contrast checker → · Palette generator →

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