#AFA9CA#AFA9CA

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

Color values

HEX#AFA9CA
RGBrgb(175, 169, 202)
HSLhsl(251, 24%, 73%)
HSVhsv(251, 16%, 79%)
CMYKcmyk(13.4%, 16.3%, 0%, 20.8%)
CIE-LABlab(70.70, 8.71, -16.00)
CIE-LCHlch(70.70, 18.22, 298.55°)
OKLaboklab(75.07% 0.0189 -0.0434)
OKLCHoklch(75.07% 0.047 293.6)
XYZxyz(42.5256, 41.7539, 61.6846)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9CA #C4CAA9
analogous
#A9B3CA #AFA9CA #BFA9CA
triadic
#AFA9CA #CAAFA9 #A9CAAF
tetradic
#AFA9CA #CAA9B3 #C4CAA9 #A9CABF
square
#AFA9CA #CAA9B3 #C4CAA9 #A9CABF
split-complementary
#AFA9CA #CABFA9 #B3CAA9
monochromatic
#6A5F9A #8C83B3 #AFA9CA #D2CFE1 #EDECF3

Accessibility & contrast

On white

2.25
#AFA9CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#AFA9CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9CA
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9CA#FFFFFF#000000##000000
##AFA9CA1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa9ca;
/* rgb */ color: rgb(175, 169, 202);
/* oklch */ color: oklch(75.1% 0.047 293.6);
Tailwind
colors: {
  custom: {
    50: '#c7c2da',
    500: '#afa9ca',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ca;
$custom-light: #c7c2da;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ca",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 202
  },
  "hsl": {
    "h": 250.909,
    "s": 23.741,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75069,
    "c": 0.04733,
    "h": 293.6
  },
  "luminance": 0.41754
}

Semantic roles & 50–950 ramp

primary
#AFA9CA
secondary
#E8EAE1
accent
#A24391
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA9CA

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

Preview Lab → · Contrast checker → · Palette generator →

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