#AFA2BE#AFA2BE

#AFA2BE is a light, muted violet. Relative luminance 0.387; OKLCH L 73.2% C 0.042 H 306.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFA2BE
RGBrgb(175, 162, 190)
HSLhsl(268, 18%, 69%)
HSVhsv(268, 15%, 75%)
CMYKcmyk(7.9%, 14.7%, 0%, 25.5%)
CIE-LABlab(68.51, 10.08, -12.66)
CIE-LCHlch(68.51, 16.18, 308.51°)
OKLaboklab(73.24% 0.0251 -0.0341)
OKLCHoklch(73.24% 0.042 306.3)
XYZxyz(39.8921, 38.6724, 54.0682)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2BE #B1BEA2
analogous
#A2A3BE #AFA2BE #BDA2BE
triadic
#AFA2BE #BEAFA2 #A2BEAF
tetradic
#AFA2BE #BEA2A3 #B1BEA2 #A2BEBD
square
#AFA2BE #BEA2A3 #B1BEA2 #A2BEBD
split-complementary
#AFA2BE #BEBDA2 #A3BEA2
monochromatic
#715E87 #907EA5 #AFA2BE #CEC6D7 #EDEAF0

Accessibility & contrast

On white

2.40
#AFA2BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AFA2BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2BE
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2BE#FFFFFF#000000##000000
##AFA2BE1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA7BF
Deuteranopia (green-blind)
#A0A7BD
Tritanopia (blue-blind)
#ADA5AB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2be;
/* rgb */ color: rgb(175, 162, 190);
/* oklch */ color: oklch(73.2% 0.042 306.3);
Tailwind
colors: {
  custom: {
    50: '#c7bdd1',
    500: '#afa2be',
    950: '#000000',
  },
}
SCSS
$custom: #afa2be;
$custom-light: #c7bdd1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2be",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 190
  },
  "hsl": {
    "h": 267.857,
    "s": 17.722,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73238,
    "c": 0.04233,
    "h": 306.3
  },
  "luminance": 0.38672
}

Semantic roles & 50–950 ramp

primary
#AFA2BE
secondary
#DEE2DA
accent
#9C4976
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA2BE

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

Preview Lab → · Contrast checker → · Palette generator →

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