#AFA1BE#AFA1BE

#AFA1BE is a light, muted violet. Relative luminance 0.383; OKLCH L 73.0% C 0.044 H 307.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AFA1BE
RGBrgb(175, 161, 190)
HSLhsl(269, 18%, 69%)
HSVhsv(269, 15%, 75%)
CMYKcmyk(7.9%, 15.3%, 0%, 25.5%)
CIE-LABlab(68.26, 10.63, -13.05)
CIE-LCHlch(68.26, 16.83, 309.17°)
OKLaboklab(73.04% 0.0266 -0.0352)
OKLCHoklch(73.04% 0.044 307.1)
XYZxyz(39.7167, 38.3215, 54.0097)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1BE #B0BEA1
analogous
#A1A2BE #AFA1BE #BEA1BE
triadic
#AFA1BE #BEAFA1 #A1BEAF
tetradic
#AFA1BE #BEA1A2 #B0BEA1 #A1BEBE
square
#AFA1BE #BEA1A2 #B0BEA1 #A1BEBE
split-complementary
#AFA1BE #BEBEA1 #A2BEA1
monochromatic
#725D87 #907DA5 #AFA1BE #CEC5D7 #EDE9F0

Accessibility & contrast

On white

2.42
#AFA1BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#AFA1BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1BE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1BE#FFFFFF#000000##000000
##AFA1BE1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA6BF
Deuteranopia (green-blind)
#9FA7BD
Tritanopia (blue-blind)
#ADA5AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa1be;
/* rgb */ color: rgb(175, 161, 190);
/* oklch */ color: oklch(73.0% 0.044 307.1);
Tailwind
colors: {
  custom: {
    50: '#c7bcd1',
    500: '#afa1be',
    950: '#000000',
  },
}
SCSS
$custom: #afa1be;
$custom-light: #c7bcd1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1be",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 190
  },
  "hsl": {
    "h": 268.966,
    "s": 18.239,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73039,
    "c": 0.04406,
    "h": 307.1
  },
  "luminance": 0.38321
}

Semantic roles & 50–950 ramp

primary
#AFA1BE
secondary
#DEE2D9
accent
#9D4974
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA1BE

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

Preview Lab → · Contrast checker → · Palette generator →

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