#AFA9CB#AFA9CB

#AFA9CB is a light, muted violet. Relative luminance 0.418; OKLCH L 75.1% C 0.049 H 293.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#AFA9CB
RGBrgb(175, 169, 203)
HSLhsl(251, 25%, 73%)
HSVhsv(251, 17%, 80%)
CMYKcmyk(13.8%, 16.7%, 0%, 20.4%)
CIE-LABlab(70.73, 8.92, -16.51)
CIE-LCHlch(70.73, 18.76, 298.40°)
OKLaboklab(75.11% 0.0193 -0.0448)
OKLCHoklch(75.11% 0.049 293.3)
XYZxyz(42.6444, 41.8014, 62.3102)
Luminance0.4180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9CB #C5CBA9
analogous
#A9B4CB #AFA9CB #C0A9CB
triadic
#AFA9CB #CBAFA9 #A9CBAF
tetradic
#AFA9CB #CBA9B4 #C5CBA9 #A9CBC0
square
#AFA9CB #CBA9B4 #C5CBA9 #A9CBC0
split-complementary
#AFA9CB #CBC0A9 #B4CBA9
monochromatic
#695E9C #8C83B4 #AFA9CB #D2CFE2 #EDECF3

Accessibility & contrast

On white

2.24
#AFA9CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#AFA9CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9CB
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9CB#FFFFFF#000000##000000
##AFA9CB1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2ADCD
Deuteranopia (green-blind)
#A2ACCA
Tritanopia (blue-blind)
#AAAEB4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa9cb;
/* rgb */ color: rgb(175, 169, 203);
/* oklch */ color: oklch(75.1% 0.049 293.3);
Tailwind
colors: {
  custom: {
    50: '#c7c2da',
    500: '#afa9cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa9cb;
$custom-light: #c7c2da;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9cb",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 203
  },
  "hsl": {
    "h": 250.588,
    "s": 24.638,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75105,
    "c": 0.04874,
    "h": 293.3
  },
  "luminance": 0.41802
}

Semantic roles & 50–950 ramp

primary
#AFA9CB
secondary
#E8EAE1
accent
#A34292
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA9CB

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

Preview Lab → · Contrast checker → · Palette generator →

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