#AFA5BE#AFA5BE

#AFA5BE is a light, muted violet. Relative luminance 0.397; OKLCH L 73.8% C 0.037 H 303.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AFA5BE
RGBrgb(175, 165, 190)
HSLhsl(264, 16%, 70%)
HSVhsv(264, 13%, 75%)
CMYKcmyk(7.9%, 13.2%, 0%, 25.5%)
CIE-LABlab(69.29, 8.41, -11.51)
CIE-LCHlch(69.29, 14.25, 306.17°)
OKLaboklab(73.84% 0.0206 -0.031)
OKLCHoklch(73.84% 0.037 303.6)
XYZxyz(40.4269, 39.7420, 54.2464)
Luminance0.3974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5BE #B4BEA5
analogous
#A5A8BE #AFA5BE #BCA5BE
triadic
#AFA5BE #BEAFA5 #A5BEAF
tetradic
#AFA5BE #BEA5A8 #B4BEA5 #A5BEBC
square
#AFA5BE #BEA5A8 #B4BEA5 #A5BEBC
split-complementary
#AFA5BE #BEBCA5 #A8BEA5
monochromatic
#716287 #8F81A4 #AFA5BE #CFC9D8 #EEECF1

Accessibility & contrast

On white

2.35
#AFA5BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#AFA5BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5BE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5BE#FFFFFF#000000##000000
##AFA5BE1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A9BF
Deuteranopia (green-blind)
#A3A9BD
Tritanopia (blue-blind)
#ADA8AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa5be;
/* rgb */ color: rgb(175, 165, 190);
/* oklch */ color: oklch(73.8% 0.037 303.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfd1',
    500: '#afa5be',
    950: '#000000',
  },
}
SCSS
$custom: #afa5be;
$custom-light: #c7bfd1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5be",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 190
  },
  "hsl": {
    "h": 264,
    "s": 16.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73839,
    "c": 0.03718,
    "h": 303.6
  },
  "luminance": 0.39742
}

Semantic roles & 50–950 ramp

primary
#AFA5BE
secondary
#E0E3DC
accent
#9A4B7B
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA5BE

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

Preview Lab → · Contrast checker → · Palette generator →

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