#AFA8CE#AFA8CE

#AFA8CE is a light, muted violet. Relative luminance 0.416; OKLCH L 75.0% C 0.055 H 293.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA8CE
RGBrgb(175, 168, 206)
HSLhsl(251, 28%, 73%)
HSVhsv(251, 18%, 81%)
CMYKcmyk(15%, 18.4%, 0%, 19.2%)
CIE-LABlab(70.58, 10.12, -18.39)
CIE-LCHlch(70.58, 21.00, 298.83°)
OKLaboklab(75.02% 0.0217 -0.05)
OKLCHoklch(75.02% 0.055 293.5)
XYZxyz(42.8200, 41.5752, 64.1494)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8CE #C7CEA8
analogous
#A8B4CE #AFA8CE #C2A8CE
triadic
#AFA8CE #CEAFA8 #A8CEAF
tetradic
#AFA8CE #CEA8B4 #C7CEA8 #A8CEC2
square
#AFA8CE #CEA8B4 #C7CEA8 #A8CEC2
split-complementary
#AFA8CE #CEC2A8 #B4CEA8
monochromatic
#685BA1 #8B81B8 #AFA8CE #D3CFE4 #EDEBF4

Accessibility & contrast

On white

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

On black

9.32
#AFA8CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8CE
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8CE#FFFFFF#000000##000000
##AFA8CE1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0ADD0
Deuteranopia (green-blind)
#A0ACCD
Tritanopia (blue-blind)
#A9AEB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa8ce;
/* rgb */ color: rgb(175, 168, 206);
/* oklch */ color: oklch(75.0% 0.055 293.5);
Tailwind
colors: {
  custom: {
    50: '#c7c1dd',
    500: '#afa8ce',
    950: '#000000',
  },
}
SCSS
$custom: #afa8ce;
$custom-light: #c7c1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8ce",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 206
  },
  "hsl": {
    "h": 251.053,
    "s": 27.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.05453,
    "h": 293.5
  },
  "luminance": 0.41575
}

Semantic roles & 50–950 ramp

primary
#AFA8CE
secondary
#E9EAE1
accent
#A73F93
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA8CE

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

Preview Lab → · Contrast checker → · Palette generator →

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