#AFA8D2#AFA8D2

#AFA8D2 is a light, moderate violet. Relative luminance 0.418; OKLCH L 75.2% C 0.060 H 292.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#AFA8D2
RGBrgb(175, 168, 210)
HSLhsl(250, 32%, 74%)
HSVhsv(250, 20%, 82%)
CMYKcmyk(16.7%, 20%, 0%, 17.6%)
CIE-LABlab(70.71, 11.00, -20.39)
CIE-LCHlch(70.71, 23.16, 298.35°)
OKLaboklab(75.17% 0.0231 -0.0556)
OKLCHoklch(75.17% 0.06 292.5)
XYZxyz(43.3121, 41.7720, 66.7412)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8D2 #CBD2A8
analogous
#A8B6D2 #AFA8D2 #C4A8D2
triadic
#AFA8D2 #D2AFA8 #A8D2AF
tetradic
#AFA8D2 #D2A8B6 #CBD2A8 #A8D2C4
square
#AFA8D2 #D2A8B6 #CBD2A8 #A8D2C4
split-complementary
#AFA8D2 #D2C4A8 #B6D2A8
monochromatic
#6557A8 #8A80BD #AFA8D2 #D4D0E7 #ECEBF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA8D2#FFFFFF#000000##000000
##AFA8D21.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FAED4
Deuteranopia (green-blind)
#9FACD1
Tritanopia (blue-blind)
#A8AFB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa8d2;
/* rgb */ color: rgb(175, 168, 210);
/* oklch */ color: oklch(75.2% 0.060 292.5);
Tailwind
colors: {
  custom: {
    50: '#c7c1df',
    500: '#afa8d2',
    950: '#000000',
  },
}
SCSS
$custom: #afa8d2;
$custom-light: #c7c1df;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8d2",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 210
  },
  "hsl": {
    "h": 250,
    "s": 31.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75167,
    "c": 0.06017,
    "h": 292.5
  },
  "luminance": 0.41772
}

Semantic roles & 50–950 ramp

primary
#AFA8D2
secondary
#E9EBE0
accent
#AB3B98
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA8D2

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

Preview Lab → · Contrast checker → · Palette generator →

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