#AFA1CF#AFA1CF

#AFA1CF is a light, moderate violet. Relative luminance 0.391; OKLCH L 73.7% C 0.067 H 298.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFA1CF
RGBrgb(175, 161, 207)
HSLhsl(258, 32%, 72%)
HSVhsv(258, 22%, 81%)
CMYKcmyk(15.5%, 22.2%, 0%, 18.8%)
CIE-LABlab(68.83, 14.24, -21.60)
CIE-LCHlch(68.83, 25.87, 303.39°)
OKLaboklab(73.67% 0.0322 -0.0589)
OKLCHoklch(73.67% 0.067 298.7)
XYZxyz(41.6842, 39.1086, 64.3720)
Luminance0.3911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1CF #C1CFA1
analogous
#A1AACF #AFA1CF #C6A1CF
triadic
#AFA1CF #CFAFA1 #A1CFAF
tetradic
#AFA1CF #CFA1AA #C1CFA1 #A1CFC6
square
#AFA1CF #CFA1AA #C1CFA1 #A1CFC6
split-complementary
#AFA1CF #CFC6A1 #AACFA1
monochromatic
#6B53A3 #8D78BA #AFA1CF #D1CAE4 #EEEBF5

Accessibility & contrast

On white

2.38
#AFA1CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFA1CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1CF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1CF#FFFFFF#000000##000000
##AFA1CF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8D1
Deuteranopia (green-blind)
#9AA8CE
Tritanopia (blue-blind)
#A9A8B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa1cf;
/* rgb */ color: rgb(175, 161, 207);
/* oklch */ color: oklch(73.7% 0.067 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7bcdd',
    500: '#afa1cf',
    950: '#000000',
  },
}
SCSS
$custom: #afa1cf;
$custom-light: #c7bcdd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1cf",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 207
  },
  "hsl": {
    "h": 258.261,
    "s": 32.394,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73672,
    "c": 0.06717,
    "h": 298.7
  },
  "luminance": 0.39109
}

Semantic roles & 50–950 ramp

primary
#AFA1CF
secondary
#E8EBE0
accent
#AB3A89
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA1CF

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

Preview Lab → · Contrast checker → · Palette generator →

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