#AFA7CD#AFA7CD

#AFA7CD is a light, muted violet. Relative luminance 0.412; OKLCH L 74.8% C 0.055 H 294.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AFA7CD
RGBrgb(175, 167, 205)
HSLhsl(253, 28%, 73%)
HSVhsv(253, 19%, 80%)
CMYKcmyk(14.6%, 18.5%, 0%, 19.6%)
CIE-LABlab(70.29, 10.46, -18.28)
CIE-LCHlch(70.29, 21.06, 299.78°)
OKLaboklab(74.78% 0.0229 -0.0497)
OKLCHoklch(74.78% 0.055 294.7)
XYZxyz(42.5150, 41.1589, 63.4504)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7CD #C5CDA7
analogous
#A7B2CD #AFA7CD #C2A7CD
triadic
#AFA7CD #CDAFA7 #A7CDAF
tetradic
#AFA7CD #CDA7B2 #C5CDA7 #A7CDC2
square
#AFA7CD #CDA7B2 #C5CDA7 #A7CDC2
split-complementary
#AFA7CD #CDC2A7 #B2CDA7
monochromatic
#695A9F #8C80B7 #AFA7CD #D2CEE3 #EDEBF4

Accessibility & contrast

On white

2.27
#AFA7CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AFA7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7CD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7CD#FFFFFF#000000##000000
##AFA7CD1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FACCF
Deuteranopia (green-blind)
#A0ABCC
Tritanopia (blue-blind)
#AAADB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa7cd;
/* rgb */ color: rgb(175, 167, 205);
/* oklch */ color: oklch(74.8% 0.055 294.7);
Tailwind
colors: {
  custom: {
    50: '#c7c1dc',
    500: '#afa7cd',
    950: '#000000',
  },
}
SCSS
$custom: #afa7cd;
$custom-light: #c7c1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7cd",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 205
  },
  "hsl": {
    "h": 252.632,
    "s": 27.536,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7478,
    "c": 0.0547,
    "h": 294.7
  },
  "luminance": 0.41159
}

Semantic roles & 50–950 ramp

primary
#AFA7CD
secondary
#E8EAE1
accent
#A63F91
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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