#AFA9BE#AFA9BE

#AFA9BE is a light, muted violet. Relative luminance 0.412; OKLCH L 74.6% C 0.030 H 298.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AFA9BE
RGBrgb(175, 169, 190)
HSLhsl(257, 14%, 70%)
HSVhsv(257, 11%, 75%)
CMYKcmyk(7.9%, 11.1%, 0%, 25.5%)
CIE-LABlab(70.32, 6.21, -9.96)
CIE-LCHlch(70.32, 11.73, 301.94°)
OKLaboklab(74.65% 0.0147 -0.0267)
OKLCHoklch(74.65% 0.031 298.7)
XYZxyz(41.1597, 41.2075, 54.4907)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9BE #B8BEA9
analogous
#A9ADBE #AFA9BE #B9A9BE
triadic
#AFA9BE #BEAFA9 #A9BEAF
tetradic
#AFA9BE #BEA9AD #B8BEA9 #A9BEB9
square
#AFA9BE #BEA9AD #B8BEA9 #A9BEB9
split-complementary
#AFA9BE #BEB9A9 #ADBEA9
monochromatic
#6F6687 #8F86A4 #AFA9BE #CFCCD8 #EFEEF2

Accessibility & contrast

On white

2.27
#AFA9BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#AFA9BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9BE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9BE#FFFFFF#000000##000000
##AFA9BE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5ACBF
Deuteranopia (green-blind)
#A6ACBD
Tritanopia (blue-blind)
#ADACB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa9be;
/* rgb */ color: rgb(175, 169, 190);
/* oklch */ color: oklch(74.6% 0.030 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7c2d1',
    500: '#afa9be',
    950: '#000000',
  },
}
SCSS
$custom: #afa9be;
$custom-light: #c7c2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9be",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 190
  },
  "hsl": {
    "h": 257.143,
    "s": 13.907,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.0305,
    "h": 298.7
  },
  "luminance": 0.41208
}

Semantic roles & 50–950 ramp

primary
#AFA9BE
secondary
#E3E4DF
accent
#984D83
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA9BE

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

Preview Lab → · Contrast checker → · Palette generator →

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