#AFA6CB#AFA6CB

#AFA6CB is a light, muted violet. Relative luminance 0.407; OKLCH L 74.5% C 0.053 H 296.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#AFA6CB
RGBrgb(175, 166, 203)
HSLhsl(255, 26%, 72%)
HSVhsv(255, 18%, 80%)
CMYKcmyk(13.8%, 18.2%, 0%, 20.4%)
CIE-LABlab(69.96, 10.58, -17.67)
CIE-LCHlch(69.96, 20.60, 300.92°)
OKLaboklab(74.51% 0.0236 -0.048)
OKLCHoklch(74.51% 0.054 296.2)
XYZxyz(42.0927, 40.6980, 62.1263)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6CB #C2CBA6
analogous
#A6AFCB #AFA6CB #C2A6CB
triadic
#AFA6CB #CBAFA6 #A6CBAF
tetradic
#AFA6CB #CBA6AF #C2CBA6 #A6CBC2
square
#AFA6CB #CBA6AF #C2CBA6 #A6CBC2
split-complementary
#AFA6CB #CBC2A6 #AFCBA6
monochromatic
#6B5B9C #8C7FB4 #AFA6CB #D2CDE2 #EEECF4

Accessibility & contrast

On white

2.30
#AFA6CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#AFA6CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6CB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6CB#FFFFFF#000000##000000
##AFA6CB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FABCD
Deuteranopia (green-blind)
#A0ABCA
Tritanopia (blue-blind)
#AAABB2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa6cb;
/* rgb */ color: rgb(175, 166, 203);
/* oklch */ color: oklch(74.5% 0.053 296.2);
Tailwind
colors: {
  custom: {
    50: '#c7c0da',
    500: '#afa6cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa6cb;
$custom-light: #c7c0da;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6cb",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 203
  },
  "hsl": {
    "h": 254.595,
    "s": 26.241,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74506,
    "c": 0.0535,
    "h": 296.2
  },
  "luminance": 0.40698
}

Semantic roles & 50–950 ramp

primary
#AFA6CB
secondary
#E8EAE1
accent
#A5418C
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA6CB

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

Preview Lab → · Contrast checker → · Palette generator →

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