#AFA4CC#AFA4CC

#AFA4CC is a light, muted violet. Relative luminance 0.400; OKLCH L 74.1% C 0.058 H 297.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA4CC
RGBrgb(175, 164, 204)
HSLhsl(257, 28%, 72%)
HSVhsv(257, 20%, 80%)
CMYKcmyk(14.2%, 19.6%, 0%, 20%)
CIE-LABlab(69.49, 11.91, -18.94)
CIE-LCHlch(69.49, 22.38, 302.16°)
OKLaboklab(74.15% 0.0269 -0.0515)
OKLCHoklch(74.15% 0.058 297.6)
XYZxyz(41.8515, 40.0244, 62.6356)
Luminance0.4002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4CC #C1CCA4
analogous
#A4ADCC #AFA4CC #C3A4CC
triadic
#AFA4CC #CCAFA4 #A4CCAF
tetradic
#AFA4CC #CCA4AD #C1CCA4 #A4CCC3
square
#AFA4CC #CCA4AD #C1CCA4 #A4CCC3
split-complementary
#AFA4CC #CCC3A4 #ADCCA4
monochromatic
#6B589D #8D7DB6 #AFA4CC #D1CBE2 #EEEBF4

Accessibility & contrast

On white

2.33
#AFA4CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#AFA4CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4CC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4CC#FFFFFF#000000##000000
##AFA4CC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAACE
Deuteranopia (green-blind)
#9DA9CB
Tritanopia (blue-blind)
#AAAAB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa4cc;
/* rgb */ color: rgb(175, 164, 204);
/* oklch */ color: oklch(74.1% 0.058 297.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfdb',
    500: '#afa4cc',
    950: '#000000',
  },
}
SCSS
$custom: #afa4cc;
$custom-light: #c7bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4cc",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 204
  },
  "hsl": {
    "h": 256.5,
    "s": 28.169,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74147,
    "c": 0.05812,
    "h": 297.6
  },
  "luminance": 0.40025
}

Semantic roles & 50–950 ramp

primary
#AFA4CC
secondary
#E8EBE0
accent
#A73F8A
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA4CC

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

Preview Lab → · Contrast checker → · Palette generator →

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