#AFA3C8#AFA3C8

#AFA3C8 is a light, muted violet. Relative luminance 0.395; OKLCH L 73.8% C 0.054 H 299.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFA3C8
RGBrgb(175, 163, 200)
HSLhsl(259, 25%, 71%)
HSVhsv(259, 19%, 78%)
CMYKcmyk(12.5%, 18.5%, 0%, 21.6%)
CIE-LABlab(69.10, 11.61, -17.33)
CIE-LCHlch(69.10, 20.85, 303.82°)
OKLaboklab(73.8% 0.027 -0.047)
OKLCHoklch(73.8% 0.054 299.9)
XYZxyz(41.1996, 39.4784, 60.0820)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3C8 #BCC8A3
analogous
#A3A9C8 #AFA3C8 #C1A3C8
triadic
#AFA3C8 #C8AFA3 #A3C8AF
tetradic
#AFA3C8 #C8A3A9 #BCC8A3 #A3C8C1
square
#AFA3C8 #C8A3A9 #BCC8A3 #A3C8C1
split-complementary
#AFA3C8 #C8C1A3 #A9C8A3
monochromatic
#6E5A97 #8E7DB1 #AFA3C8 #D0C9DF #EEECF4

Accessibility & contrast

On white

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

On black

8.90
#AFA3C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3C8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3C8#FFFFFF#000000##000000
##AFA3C81.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA9CA
Deuteranopia (green-blind)
#9EA8C7
Tritanopia (blue-blind)
#ABA8AF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa3c8;
/* rgb */ color: rgb(175, 163, 200);
/* oklch */ color: oklch(73.8% 0.054 299.9);
Tailwind
colors: {
  custom: {
    50: '#c7bed8',
    500: '#afa3c8',
    950: '#000000',
  },
}
SCSS
$custom: #afa3c8;
$custom-light: #c7bed8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3c8",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 200
  },
  "hsl": {
    "h": 259.459,
    "s": 25.17,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73799,
    "c": 0.05422,
    "h": 299.9
  },
  "luminance": 0.39478
}

Semantic roles & 50–950 ramp

primary
#AFA3C8
secondary
#E5E8DF
accent
#A44284
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA3C8

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

Preview Lab → · Contrast checker → · Palette generator →

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