#AFA6BE#AFA6BE

#AFA6BE is a light, muted violet. Relative luminance 0.401; OKLCH L 74.0% C 0.035 H 302.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA6BE
RGBrgb(175, 166, 190)
HSLhsl(263, 16%, 70%)
HSVhsv(263, 13%, 75%)
CMYKcmyk(7.9%, 12.6%, 0%, 25.5%)
CIE-LABlab(69.54, 7.86, -11.12)
CIE-LCHlch(69.54, 13.62, 305.26°)
OKLaboklab(74.04% 0.0191 -0.0299)
OKLCHoklch(74.04% 0.035 302.6)
XYZxyz(40.6080, 40.1041, 54.3068)
Luminance0.4010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6BE #B5BEA6
analogous
#A6A9BE #AFA6BE #BBA6BE
triadic
#AFA6BE #BEAFA6 #A6BEAF
tetradic
#AFA6BE #BEA6A9 #B5BEA6 #A6BEBB
square
#AFA6BE #BEA6A9 #B5BEA6 #A6BEBB
split-complementary
#AFA6BE #BEBBA6 #A9BEA6
monochromatic
#706387 #8F83A4 #AFA6BE #CFC9D8 #EFEDF2

Accessibility & contrast

On white

2.33
#AFA6BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#AFA6BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6BE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6BE#FFFFFF#000000##000000
##AFA6BE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2AABF
Deuteranopia (green-blind)
#A3AABD
Tritanopia (blue-blind)
#ADA9AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa6be;
/* rgb */ color: rgb(175, 166, 190);
/* oklch */ color: oklch(74.0% 0.035 302.6);
Tailwind
colors: {
  custom: {
    50: '#c7c0d1',
    500: '#afa6be',
    950: '#000000',
  },
}
SCSS
$custom: #afa6be;
$custom-light: #c7c0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6be",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 190
  },
  "hsl": {
    "h": 262.5,
    "s": 15.584,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7404,
    "c": 0.03548,
    "h": 302.6
  },
  "luminance": 0.40104
}

Semantic roles & 50–950 ramp

primary
#AFA6BE
secondary
#E1E3DD
accent
#9A4C7D
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA6BE

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

Preview Lab → · Contrast checker → · Palette generator →

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