#AFA9CD#AFA9CD

#AFA9CD is a light, muted violet. Relative luminance 0.419; OKLCH L 75.2% C 0.052 H 292.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#AFA9CD
RGBrgb(175, 169, 205)
HSLhsl(250, 26%, 73%)
HSVhsv(250, 18%, 80%)
CMYKcmyk(14.6%, 17.6%, 0%, 19.6%)
CIE-LABlab(70.80, 9.35, -17.51)
CIE-LCHlch(70.80, 19.85, 298.12°)
OKLaboklab(75.18% 0.02 -0.0475)
OKLCHoklch(75.18% 0.052 292.8)
XYZxyz(42.8843, 41.8974, 63.5735)
Luminance0.4190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9CD #C7CDA9
analogous
#A9B5CD #AFA9CD #C1A9CD
triadic
#AFA9CD #CDAFA9 #A9CDAF
tetradic
#AFA9CD #CDA9B5 #C7CDA9 #A9CDC1
square
#AFA9CD #CDA9B5 #C7CDA9 #A9CDC1
split-complementary
#AFA9CD #CDC1A9 #B5CDA9
monochromatic
#685C9F #8B82B6 #AFA9CD #D3D0E3 #EDECF4

Accessibility & contrast

On white

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

On black

9.38
#AFA9CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9CD
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9CD#FFFFFF#000000##000000
##AFA9CD1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1AECF
Deuteranopia (green-blind)
#A2ADCC
Tritanopia (blue-blind)
#A9AEB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa9cd;
/* rgb */ color: rgb(175, 169, 205);
/* oklch */ color: oklch(75.2% 0.052 292.8);
Tailwind
colors: {
  custom: {
    50: '#c7c2dc',
    500: '#afa9cd',
    950: '#000000',
  },
}
SCSS
$custom: #afa9cd;
$custom-light: #c7c2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9cd",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 205
  },
  "hsl": {
    "h": 250,
    "s": 26.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75179,
    "c": 0.05157,
    "h": 292.8
  },
  "luminance": 0.41898
}

Semantic roles & 50–950 ramp

primary
#AFA9CD
secondary
#E9EAE1
accent
#A54094
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA9CD

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

Preview Lab → · Contrast checker → · Palette generator →

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