#AFA5CB#AFA5CB

#AFA5CB is a light, muted violet. Relative luminance 0.403; OKLCH L 74.3% C 0.055 H 297.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA5CB
RGBrgb(175, 165, 203)
HSLhsl(256, 27%, 72%)
HSVhsv(256, 19%, 80%)
CMYKcmyk(13.8%, 18.7%, 0%, 20.4%)
CIE-LABlab(69.71, 11.14, -18.06)
CIE-LCHlch(69.71, 21.22, 301.67°)
OKLaboklab(74.31% 0.0251 -0.0491)
OKLCHoklch(74.31% 0.055 297.1)
XYZxyz(41.9116, 40.3359, 62.0659)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5CB #C1CBA5
analogous
#A5AECB #AFA5CB #C2A5CB
triadic
#AFA5CB #CBAFA5 #A5CBAF
tetradic
#AFA5CB #CBA5AE #C1CBA5 #A5CBC2
square
#AFA5CB #CBA5AE #C1CBA5 #A5CBC2
split-complementary
#AFA5CB #CBC2A5 #AECBA5
monochromatic
#6B5A9C #8D7EB5 #AFA5CB #D1CCE1 #EEECF4

Accessibility & contrast

On white

2.32
#AFA5CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AFA5CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5CB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5CB#FFFFFF#000000##000000
##AFA5CB1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACD
Deuteranopia (green-blind)
#9FAACA
Tritanopia (blue-blind)
#AAABB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa5cb;
/* rgb */ color: rgb(175, 165, 203);
/* oklch */ color: oklch(74.3% 0.055 297.1);
Tailwind
colors: {
  custom: {
    50: '#c7bfdb',
    500: '#afa5cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa5cb;
$custom-light: #c7bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5cb",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 203
  },
  "hsl": {
    "h": 255.789,
    "s": 26.761,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.05511,
    "h": 297.1
  },
  "luminance": 0.40336
}

Semantic roles & 50–950 ramp

primary
#AFA5CB
secondary
#E8EAE1
accent
#A5408B
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA5CB

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

Preview Lab → · Contrast checker → · Palette generator →

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