#AFA3CA#AFA3CA

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

Color values

HEX#AFA3CA
RGBrgb(175, 163, 202)
HSLhsl(258, 27%, 72%)
HSVhsv(258, 19%, 79%)
CMYKcmyk(13.4%, 19.3%, 0%, 20.8%)
CIE-LABlab(69.16, 12.04, -18.33)
CIE-LCHlch(69.16, 21.93, 303.29°)
OKLaboklab(73.87% 0.0277 -0.0498)
OKLCHoklch(73.87% 0.057 299.1)
XYZxyz(41.4349, 39.5725, 61.3210)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3CA #BECAA3
analogous
#A3ABCA #AFA3CA #C3A3CA
triadic
#AFA3CA #CAAFA3 #A3CAAF
tetradic
#AFA3CA #CAA3AB #BECAA3 #A3CAC3
square
#AFA3CA #CAA3AB #BECAA3 #A3CAC3
split-complementary
#AFA3CA #CAC3A3 #ABCAA3
monochromatic
#6D599A #8D7CB4 #AFA3CA #D1CAE0 #EEECF4

Accessibility & contrast

On white

2.36
#AFA3CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFA3CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3CA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3CA#FFFFFF#000000##000000
##AFA3CA1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa3ca;
/* rgb */ color: rgb(175, 163, 202);
/* oklch */ color: oklch(73.9% 0.057 299.1);
Tailwind
colors: {
  custom: {
    50: '#c7beda',
    500: '#afa3ca',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ca;
$custom-light: #c7beda;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ca",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 202
  },
  "hsl": {
    "h": 258.462,
    "s": 26.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.05698,
    "h": 299.1
  },
  "luminance": 0.39573
}

Semantic roles & 50–950 ramp

primary
#AFA3CA
secondary
#E6E9DF
accent
#A54086
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA3CA

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

Preview Lab → · Contrast checker → · Palette generator →

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