#AFA4BE#AFA4BE

#AFA4BE is a light, muted violet. Relative luminance 0.394; OKLCH L 73.6% C 0.039 H 304.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFA4BE
RGBrgb(175, 164, 190)
HSLhsl(265, 17%, 69%)
HSVhsv(265, 14%, 75%)
CMYKcmyk(7.9%, 13.7%, 0%, 25.5%)
CIE-LABlab(69.03, 8.97, -11.89)
CIE-LCHlch(69.03, 14.89, 307.02°)
OKLaboklab(73.64% 0.0221 -0.032)
OKLCHoklch(73.64% 0.039 304.6)
XYZxyz(40.2472, 39.3826, 54.1865)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4BE #B3BEA4
analogous
#A4A6BE #AFA4BE #BCA4BE
triadic
#AFA4BE #BEAFA4 #A4BEAF
tetradic
#AFA4BE #BEA4A6 #B3BEA4 #A4BEBC
square
#AFA4BE #BEA4A6 #B3BEA4 #A4BEBC
split-complementary
#AFA4BE #BEBCA4 #A6BEA4
monochromatic
#716187 #9080A5 #AFA4BE #CEC8D8 #EEEBF1

Accessibility & contrast

On white

2.37
#AFA4BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AFA4BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4BE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4BE#FFFFFF#000000##000000
##AFA4BE1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A8BF
Deuteranopia (green-blind)
#A2A8BD
Tritanopia (blue-blind)
#ADA7AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa4be;
/* rgb */ color: rgb(175, 164, 190);
/* oklch */ color: oklch(73.6% 0.039 304.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfd1',
    500: '#afa4be',
    950: '#000000',
  },
}
SCSS
$custom: #afa4be;
$custom-light: #c7bfd1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4be",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 190
  },
  "hsl": {
    "h": 265.385,
    "s": 16.667,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73638,
    "c": 0.03889,
    "h": 304.6
  },
  "luminance": 0.39383
}

Semantic roles & 50–950 ramp

primary
#AFA4BE
secondary
#DFE3DB
accent
#9B4B79
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA4BE

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

Preview Lab → · Contrast checker → · Palette generator →

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