#AFA8CF#AFA8CF

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

Color values

HEX#AFA8CF
RGBrgb(175, 168, 207)
HSLhsl(251, 29%, 74%)
HSVhsv(251, 19%, 81%)
CMYKcmyk(15.5%, 18.8%, 0%, 18.8%)
CIE-LABlab(70.61, 10.34, -18.89)
CIE-LCHlch(70.61, 21.54, 298.69°)
OKLaboklab(75.05% 0.0221 -0.0514)
OKLCHoklch(75.05% 0.056 293.2)
XYZxyz(42.9419, 41.6239, 64.7913)
Luminance0.4162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8CF #C8CFA8
analogous
#A8B4CF #AFA8CF #C2A8CF
triadic
#AFA8CF #CFAFA8 #A8CFAF
tetradic
#AFA8CF #CFA8B4 #C8CFA8 #A8CFC2
square
#AFA8CF #CFA8B4 #C8CFA8 #A8CFC2
split-complementary
#AFA8CF #CFC2A8 #B4CFA8
monochromatic
#675AA3 #8B81B9 #AFA8CF #D3CFE5 #EDEBF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA8CF#FFFFFF#000000##000000
##AFA8CF1.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)
#A0ADD1
Deuteranopia (green-blind)
#A0ACCE
Tritanopia (blue-blind)
#A9AEB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa8cf;
/* rgb */ color: rgb(175, 168, 207);
/* oklch */ color: oklch(75.1% 0.056 293.2);
Tailwind
colors: {
  custom: {
    50: '#c7c1dd',
    500: '#afa8cf',
    950: '#000000',
  },
}
SCSS
$custom: #afa8cf;
$custom-light: #c7c1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8cf",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 207
  },
  "hsl": {
    "h": 250.769,
    "s": 28.889,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75054,
    "c": 0.05595,
    "h": 293.2
  },
  "luminance": 0.41624
}

Semantic roles & 50–950 ramp

primary
#AFA8CF
secondary
#E9EBE0
accent
#A83E95
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA8CF

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

Preview Lab → · Contrast checker → · Palette generator →

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