#AFA5CD#AFA5CD

#AFA5CD is a light, muted violet. Relative luminance 0.404; OKLCH L 74.4% C 0.058 H 296.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA5CD
RGBrgb(175, 165, 205)
HSLhsl(255, 29%, 73%)
HSVhsv(255, 20%, 80%)
CMYKcmyk(14.6%, 19.5%, 0%, 19.6%)
CIE-LABlab(69.78, 11.57, -19.06)
CIE-LCHlch(69.78, 22.30, 301.27°)
OKLaboklab(74.38% 0.0258 -0.0518)
OKLCHoklch(74.38% 0.058 296.4)
XYZxyz(42.1515, 40.4318, 63.3292)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5CD #C3CDA5
analogous
#A5AFCD #AFA5CD #C3A5CD
triadic
#AFA5CD #CDAFA5 #A5CDAF
tetradic
#AFA5CD #CDA5AF #C3CDA5 #A5CDC3
square
#AFA5CD #CDA5AF #C3CDA5 #A5CDC3
split-complementary
#AFA5CD #CDC3A5 #AFCDA5
monochromatic
#6A589F #8C7EB7 #AFA5CD #D2CCE3 #EEEBF4

Accessibility & contrast

On white

2.31
#AFA5CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AFA5CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5CD
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5CD#FFFFFF#000000##000000
##AFA5CD1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DABCF
Deuteranopia (green-blind)
#9EAACC
Tritanopia (blue-blind)
#AAABB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa5cd;
/* rgb */ color: rgb(175, 165, 205);
/* oklch */ color: oklch(74.4% 0.058 296.4);
Tailwind
colors: {
  custom: {
    50: '#c7bfdc',
    500: '#afa5cd',
    950: '#000000',
  },
}
SCSS
$custom: #afa5cd;
$custom-light: #c7bfdc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5cd",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 28.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74383,
    "c": 0.05789,
    "h": 296.4
  },
  "luminance": 0.40432
}

Semantic roles & 50–950 ramp

primary
#AFA5CD
secondary
#E8EBE0
accent
#A73E8D
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA5CD

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

Preview Lab → · Contrast checker → · Palette generator →

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