#AFA8CD#AFA8CD

#AFA8CD is a light, muted violet. Relative luminance 0.415; OKLCH L 75.0% C 0.053 H 293.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AFA8CD
RGBrgb(175, 168, 205)
HSLhsl(251, 27%, 73%)
HSVhsv(251, 18%, 80%)
CMYKcmyk(14.6%, 18%, 0%, 19.6%)
CIE-LABlab(70.54, 9.91, -17.89)
CIE-LCHlch(70.54, 20.45, 298.97°)
OKLaboklab(74.98% 0.0214 -0.0486)
OKLCHoklch(74.98% 0.053 293.8)
XYZxyz(42.6989, 41.5267, 63.5117)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8CD #C6CDA8
analogous
#A8B3CD #AFA8CD #C1A8CD
triadic
#AFA8CD #CDAFA8 #A8CDAF
tetradic
#AFA8CD #CDA8B3 #C6CDA8 #A8CDC1
square
#AFA8CD #CDA8B3 #C6CDA8 #A8CDC1
split-complementary
#AFA8CD #CDC1A8 #B3CDA8
monochromatic
#685B9F #8B81B7 #AFA8CD #D3CFE3 #EDECF4

Accessibility & contrast

On white

2.26
#AFA8CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AFA8CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8CD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8CD#FFFFFF#000000##000000
##AFA8CD1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0ADCF
Deuteranopia (green-blind)
#A1ACCC
Tritanopia (blue-blind)
#A9AEB4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa8cd;
/* rgb */ color: rgb(175, 168, 205);
/* oklch */ color: oklch(75.0% 0.053 293.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1dc',
    500: '#afa8cd',
    950: '#000000',
  },
}
SCSS
$custom: #afa8cd;
$custom-light: #c7c1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8cd",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 205
  },
  "hsl": {
    "h": 251.351,
    "s": 27.007,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74979,
    "c": 0.05312,
    "h": 293.8
  },
  "luminance": 0.41527
}

Semantic roles & 50–950 ramp

primary
#AFA8CD
secondary
#E8EAE1
accent
#A64092
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA8CD

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

Preview Lab → · Contrast checker → · Palette generator →

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