#AFA7BE#AFA7BE

#AFA7BE is a light, muted violet. Relative luminance 0.405; OKLCH L 74.2% C 0.034 H 301.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA7BE
RGBrgb(175, 167, 190)
HSLhsl(261, 15%, 70%)
HSVhsv(261, 12%, 75%)
CMYKcmyk(7.9%, 12.1%, 0%, 25.5%)
CIE-LABlab(69.80, 7.31, -10.73)
CIE-LCHlch(69.80, 12.99, 304.25°)
OKLaboklab(74.24% 0.0176 -0.0288)
OKLCHoklch(74.24% 0.034 301.4)
XYZxyz(40.7905, 40.4691, 54.3676)
Luminance0.4047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7BE #B6BEA7
analogous
#A7AABE #AFA7BE #BBA7BE
triadic
#AFA7BE #BEAFA7 #A7BEAF
tetradic
#AFA7BE #BEA7AA #B6BEA7 #A7BEBB
square
#AFA7BE #BEA7AA #B6BEA7 #A7BEBB
split-complementary
#AFA7BE #BEBBA7 #AABEA7
monochromatic
#706487 #8F84A4 #AFA7BE #CFCAD8 #EFEDF2

Accessibility & contrast

On white

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

On black

9.09
#AFA7BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7BE
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7BE#FFFFFF#000000##000000
##AFA7BE1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3AABF
Deuteranopia (green-blind)
#A4AABD
Tritanopia (blue-blind)
#ADAAAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa7be;
/* rgb */ color: rgb(175, 167, 190);
/* oklch */ color: oklch(74.2% 0.034 301.4);
Tailwind
colors: {
  custom: {
    50: '#c7c1d1',
    500: '#afa7be',
    950: '#000000',
  },
}
SCSS
$custom: #afa7be;
$custom-light: #c7c1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7be",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 190
  },
  "hsl": {
    "h": 260.87,
    "s": 15.033,
    "l": 70
  },
  "oklch": {
    "l": 0.74242,
    "c": 0.0338,
    "h": 301.4
  },
  "luminance": 0.40469
}

Semantic roles & 50–950 ramp

primary
#AFA7BE
secondary
#E1E4DD
accent
#994C7E
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA7BE

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

Preview Lab → · Contrast checker → · Palette generator →

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