#AFA6CF#AFA6CF

#AFA6CF is a light, muted violet. Relative luminance 0.409; OKLCH L 74.7% C 0.059 H 295.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA6CF
RGBrgb(175, 166, 207)
HSLhsl(253, 30%, 73%)
HSVhsv(253, 20%, 81%)
CMYKcmyk(15.5%, 19.8%, 0%, 18.8%)
CIE-LABlab(70.10, 11.45, -19.67)
CIE-LCHlch(70.10, 22.76, 300.21°)
OKLaboklab(74.66% 0.025 -0.0536)
OKLCHoklch(74.66% 0.059 295)
XYZxyz(42.5755, 40.8911, 64.6691)
Luminance0.4089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6CF #C6CFA6
analogous
#A6B1CF #AFA6CF #C3A6CF
triadic
#AFA6CF #CFAFA6 #A6CFAF
tetradic
#AFA6CF #CFA6B1 #C6CFA6 #A6CFC3
square
#AFA6CF #CFA6B1 #C6CFA6 #A6CFC3
split-complementary
#AFA6CF #CFC3A6 #B1CFA6
monochromatic
#6858A3 #8B7EBA #AFA6CF #D3CEE4 #EDEBF4

Accessibility & contrast

On white

2.29
#AFA6CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#AFA6CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6CF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6CF#FFFFFF#000000##000000
##AFA6CF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DACD1
Deuteranopia (green-blind)
#9EABCE
Tritanopia (blue-blind)
#A9ACB4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa6cf;
/* rgb */ color: rgb(175, 166, 207);
/* oklch */ color: oklch(74.7% 0.059 295.0);
Tailwind
colors: {
  custom: {
    50: '#c7c0dd',
    500: '#afa6cf',
    950: '#000000',
  },
}
SCSS
$custom: #afa6cf;
$custom-light: #c7c0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6cf",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 207
  },
  "hsl": {
    "h": 253.171,
    "s": 29.927,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74657,
    "c": 0.05909,
    "h": 295
  },
  "luminance": 0.40891
}

Semantic roles & 50–950 ramp

primary
#AFA6CF
secondary
#E8EBE0
accent
#A93D91
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA6CF

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

Preview Lab → · Contrast checker → · Palette generator →

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