#AFA4CB#AFA4CB

#AFA4CB is a light, muted violet. Relative luminance 0.400; OKLCH L 74.1% C 0.057 H 297.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA4CB
RGBrgb(175, 164, 203)
HSLhsl(257, 27%, 72%)
HSVhsv(257, 19%, 80%)
CMYKcmyk(13.8%, 19.2%, 0%, 20.4%)
CIE-LABlab(69.45, 11.70, -18.44)
CIE-LCHlch(69.45, 21.84, 302.38°)
OKLaboklab(74.11% 0.0266 -0.0501)
OKLCHoklch(74.11% 0.057 297.9)
XYZxyz(41.7319, 39.9765, 62.0060)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4CB #C0CBA4
analogous
#A4ADCB #AFA4CB #C3A4CB
triadic
#AFA4CB #CBAFA4 #A4CBAF
tetradic
#AFA4CB #CBA4AD #C0CBA4 #A4CBC3
square
#AFA4CB #CBA4AD #C0CBA4 #A4CBC3
split-complementary
#AFA4CB #CBC3A4 #ADCBA4
monochromatic
#6C599C #8D7DB5 #AFA4CB #D1CBE1 #EEECF4

Accessibility & contrast

On white

2.33
#AFA4CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#AFA4CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4CB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4CB#FFFFFF#000000##000000
##AFA4CB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAACD
Deuteranopia (green-blind)
#9EA9CA
Tritanopia (blue-blind)
#AAAAB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa4cb;
/* rgb */ color: rgb(175, 164, 203);
/* oklch */ color: oklch(74.1% 0.057 297.9);
Tailwind
colors: {
  custom: {
    50: '#c7bfdb',
    500: '#afa4cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa4cb;
$custom-light: #c7bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4cb",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 203
  },
  "hsl": {
    "h": 256.923,
    "s": 27.273,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74109,
    "c": 0.05673,
    "h": 297.9
  },
  "luminance": 0.39977
}

Semantic roles & 50–950 ramp

primary
#AFA4CB
secondary
#E8EAE1
accent
#A64089
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA4CB

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

Preview Lab → · Contrast checker → · Palette generator →

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