#AFA1CB#AFA1CB

#AFA1CB is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.5% C 0.062 H 300.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AFA1CB
RGBrgb(175, 161, 203)
HSLhsl(260, 29%, 71%)
HSVhsv(260, 21%, 80%)
CMYKcmyk(13.8%, 20.7%, 0%, 20.4%)
CIE-LABlab(68.69, 13.37, -19.60)
CIE-LCHlch(68.69, 23.72, 304.29°)
OKLaboklab(73.52% 0.031 -0.0533)
OKLCHoklch(73.52% 0.062 300.1)
XYZxyz(41.2014, 38.9154, 61.8292)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1CB #BDCBA1
analogous
#A1A8CB #AFA1CB #C4A1CB
triadic
#AFA1CB #CBAFA1 #A1CBAF
tetradic
#AFA1CB #CBA1A8 #BDCBA1 #A1CBC4
square
#AFA1CB #CBA1A8 #BDCBA1 #A1CBC4
split-complementary
#AFA1CB #CBC4A1 #A8CBA1
monochromatic
#6D569C #8D7AB5 #AFA1CB #D1C8E1 #EEEBF4

Accessibility & contrast

On white

2.39
#AFA1CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#AFA1CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1CB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1CB#FFFFFF#000000##000000
##AFA1CB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A7CD
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#AAA7AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa1cb;
/* rgb */ color: rgb(175, 161, 203);
/* oklch */ color: oklch(73.5% 0.062 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7bcdb',
    500: '#afa1cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa1cb;
$custom-light: #c7bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1cb",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 203
  },
  "hsl": {
    "h": 260,
    "s": 28.767,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73518,
    "c": 0.06167,
    "h": 300.1
  },
  "luminance": 0.38915
}

Semantic roles & 50–950 ramp

primary
#AFA1CB
secondary
#E6E9DE
accent
#A73E84
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA1CB

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

Preview Lab → · Contrast checker → · Palette generator →

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