#AFA3CB#AFA3CB

#AFA3CB is a light, muted violet. Relative luminance 0.396; OKLCH L 73.9% C 0.058 H 298.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFA3CB
RGBrgb(175, 163, 203)
HSLhsl(258, 28%, 72%)
HSVhsv(258, 20%, 80%)
CMYKcmyk(13.8%, 19.7%, 0%, 20.4%)
CIE-LABlab(69.20, 12.25, -18.83)
CIE-LCHlch(69.20, 22.46, 303.05°)
OKLaboklab(73.91% 0.028 -0.0512)
OKLCHoklch(73.91% 0.058 298.7)
XYZxyz(41.5537, 39.6200, 61.9466)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3CB #BFCBA3
analogous
#A3ABCB #AFA3CB #C3A3CB
triadic
#AFA3CB #CBAFA3 #A3CBAF
tetradic
#AFA3CB #CBA3AB #BFCBA3 #A3CBC3
square
#AFA3CB #CBA3AB #BFCBA3 #A3CBC3
split-complementary
#AFA3CB #CBC3A3 #ABCBA3
monochromatic
#6C589C #8D7CB5 #AFA3CB #D1CAE1 #EEEBF4

Accessibility & contrast

On white

2.35
#AFA3CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFA3CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3CB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3CB#FFFFFF#000000##000000
##AFA3CB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CD
Deuteranopia (green-blind)
#9DA9CA
Tritanopia (blue-blind)
#AAA9B0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa3cb;
/* rgb */ color: rgb(175, 163, 203);
/* oklch */ color: oklch(73.9% 0.058 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7bedb',
    500: '#afa3cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa3cb;
$custom-light: #c7bedb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3cb",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 203
  },
  "hsl": {
    "h": 258,
    "s": 27.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73912,
    "c": 0.05837,
    "h": 298.7
  },
  "luminance": 0.3962
}

Semantic roles & 50–950 ramp

primary
#AFA3CB
secondary
#E7EAE0
accent
#A63F87
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA3CB

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

Preview Lab → · Contrast checker → · Palette generator →

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