#AFA7BF#AFA7BF

#AFA7BF is a light, muted violet. Relative luminance 0.405; OKLCH L 74.3% C 0.035 H 300.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA7BF
RGBrgb(175, 167, 191)
HSLhsl(260, 16%, 70%)
HSVhsv(260, 13%, 75%)
CMYKcmyk(8.4%, 12.6%, 0%, 25.1%)
CIE-LABlab(69.83, 7.51, -11.24)
CIE-LCHlch(69.83, 13.52, 303.76°)
OKLaboklab(74.28% 0.018 -0.0302)
OKLCHoklch(74.28% 0.035 300.7)
XYZxyz(40.9001, 40.5130, 54.9452)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7BF #B7BFA7
analogous
#A7ABBF #AFA7BF #BBA7BF
triadic
#AFA7BF #BFAFA7 #A7BFAF
tetradic
#AFA7BF #BFA7AB #B7BFA7 #A7BFBB
square
#AFA7BF #BFA7AB #B7BFA7 #A7BFBB
split-complementary
#AFA7BF #BFBBA7 #ABBFA7
monochromatic
#706388 #8F84A5 #AFA7BF #CFCAD9 #EFEDF2

Accessibility & contrast

On white

2.31
#AFA7BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#AFA7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7BF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7BF#FFFFFF#000000##000000
##AFA7BF1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3ABC0
Deuteranopia (green-blind)
#A4ABBE
Tritanopia (blue-blind)
#ADAAAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa7bf;
/* rgb */ color: rgb(175, 167, 191);
/* oklch */ color: oklch(74.3% 0.035 300.7);
Tailwind
colors: {
  custom: {
    50: '#c7c1d2',
    500: '#afa7bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa7bf;
$custom-light: #c7c1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7bf",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 15.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74276,
    "c": 0.03518,
    "h": 300.7
  },
  "luminance": 0.40513
}

Semantic roles & 50–950 ramp

primary
#AFA7BF
secondary
#E2E4DE
accent
#9A4B80
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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