#AFA9CC#AFA9CC

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

Color values

HEX#AFA9CC
RGBrgb(175, 169, 204)
HSLhsl(250, 26%, 73%)
HSVhsv(250, 17%, 80%)
CMYKcmyk(14.2%, 17.2%, 0%, 20%)
CIE-LABlab(70.77, 9.14, -17.01)
CIE-LCHlch(70.77, 19.31, 298.25°)
OKLaboklab(75.14% 0.0196 -0.0462)
OKLCHoklch(75.14% 0.05 293)
XYZxyz(42.7639, 41.8492, 62.9398)
Luminance0.4185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9CC #C6CCA9
analogous
#A9B4CC #AFA9CC #C0A9CC
triadic
#AFA9CC #CCAFA9 #A9CCAF
tetradic
#AFA9CC #CCA9B4 #C6CCA9 #A9CCC0
square
#AFA9CC #CCA9B4 #C6CCA9 #A9CCC0
split-complementary
#AFA9CC #CCC0A9 #B4CCA9
monochromatic
#685D9D #8B83B5 #AFA9CC #D3CFE3 #EDECF4

Accessibility & contrast

On white

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

On black

9.37
#AFA9CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9CC
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9CC#FFFFFF#000000##000000
##AFA9CC1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2AECE
Deuteranopia (green-blind)
#A2ADCB
Tritanopia (blue-blind)
#AAAEB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa9cc;
/* rgb */ color: rgb(175, 169, 204);
/* oklch */ color: oklch(75.1% 0.050 293.0);
Tailwind
colors: {
  custom: {
    50: '#c7c2db',
    500: '#afa9cc',
    950: '#000000',
  },
}
SCSS
$custom: #afa9cc;
$custom-light: #c7c2db;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9cc",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 204
  },
  "hsl": {
    "h": 250.286,
    "s": 25.547,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75142,
    "c": 0.05015,
    "h": 293
  },
  "luminance": 0.4185
}

Semantic roles & 50–950 ramp

primary
#AFA9CC
secondary
#E8EAE1
accent
#A44193
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA9CC

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

Preview Lab → · Contrast checker → · Palette generator →

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