#AFA8BE#AFA8BE

#AFA8BE is a light, muted violet. Relative luminance 0.408; OKLCH L 74.4% C 0.032 H 300.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AFA8BE
RGBrgb(175, 168, 190)
HSLhsl(259, 14%, 70%)
HSVhsv(259, 12%, 75%)
CMYKcmyk(7.9%, 11.6%, 0%, 25.5%)
CIE-LABlab(70.06, 6.76, -10.35)
CIE-LCHlch(70.06, 12.36, 303.15°)
OKLaboklab(74.44% 0.0161 -0.0278)
OKLCHoklch(74.44% 0.032 300.1)
XYZxyz(40.9744, 40.8369, 54.4289)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8BE #B7BEA8
analogous
#A8ACBE #AFA8BE #BAA8BE
triadic
#AFA8BE #BEAFA8 #A8BEAF
tetradic
#AFA8BE #BEA8AC #B7BEA8 #A8BEBA
square
#AFA8BE #BEA8AC #B7BEA8 #A8BEBA
split-complementary
#AFA8BE #BEBAA8 #ACBEA8
monochromatic
#706587 #8F85A4 #AFA8BE #CFCBD8 #EFEDF2

Accessibility & contrast

On white

2.29
#AFA8BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AFA8BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8BE
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8BE#FFFFFF#000000##000000
##AFA8BE1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4ABBF
Deuteranopia (green-blind)
#A5ABBD
Tritanopia (blue-blind)
#ADABAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa8be;
/* rgb */ color: rgb(175, 168, 190);
/* oklch */ color: oklch(74.4% 0.032 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7c1d1',
    500: '#afa8be',
    950: '#000000',
  },
}
SCSS
$custom: #afa8be;
$custom-light: #c7c1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8be",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 190
  },
  "hsl": {
    "h": 259.091,
    "s": 14.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74444,
    "c": 0.03214,
    "h": 300.1
  },
  "luminance": 0.40837
}

Semantic roles & 50–950 ramp

primary
#AFA8BE
secondary
#E2E4DE
accent
#994D81
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA8BE

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

Preview Lab → · Contrast checker → · Palette generator →

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