#AFA3CF#AFA3CF

#AFA3CF is a light, moderate violet. Relative luminance 0.398; OKLCH L 74.1% C 0.064 H 297.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AFA3CF
RGBrgb(175, 163, 207)
HSLhsl(256, 31%, 73%)
HSVhsv(256, 21%, 81%)
CMYKcmyk(15.5%, 21.3%, 0%, 18.8%)
CIE-LABlab(69.34, 13.12, -20.83)
CIE-LCHlch(69.34, 24.62, 302.21°)
OKLaboklab(74.07% 0.0293 -0.0568)
OKLCHoklch(74.07% 0.064 297.3)
XYZxyz(42.0365, 39.8132, 64.4895)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3CF #C3CFA3
analogous
#A3ADCF #AFA3CF #C5A3CF
triadic
#AFA3CF #CFAFA3 #A3CFAF
tetradic
#AFA3CF #CFA3AD #C3CFA3 #A3CFC5
square
#AFA3CF #CFA3AD #C3CFA3 #A3CFC5
split-complementary
#AFA3CF #CFC5A3 #ADCFA3
monochromatic
#6A55A3 #8C7BBA #AFA3CF #D2CBE4 #EEEBF5

Accessibility & contrast

On white

2.34
#AFA3CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#AFA3CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3CF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3CF#FFFFFF#000000##000000
##AFA3CF1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9D1
Deuteranopia (green-blind)
#9CA9CE
Tritanopia (blue-blind)
#A9AAB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa3cf;
/* rgb */ color: rgb(175, 163, 207);
/* oklch */ color: oklch(74.1% 0.064 297.3);
Tailwind
colors: {
  custom: {
    50: '#c7bedd',
    500: '#afa3cf',
    950: '#000000',
  },
}
SCSS
$custom: #afa3cf;
$custom-light: #c7bedd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3cf",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 207
  },
  "hsl": {
    "h": 256.364,
    "s": 31.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74065,
    "c": 0.0639,
    "h": 297.3
  },
  "luminance": 0.39813
}

Semantic roles & 50–950 ramp

primary
#AFA3CF
secondary
#E8EBE0
accent
#AA3B8C
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA3CF

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

Preview Lab → · Contrast checker → · Palette generator →

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