#AFA4CE#AFA4CE

#AFA4CE is a light, moderate violet. Relative luminance 0.401; OKLCH L 74.2% C 0.061 H 296.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA4CE
RGBrgb(175, 164, 206)
HSLhsl(256, 30%, 73%)
HSVhsv(256, 20%, 81%)
CMYKcmyk(15%, 20.4%, 0%, 19.2%)
CIE-LABlab(69.56, 12.34, -19.94)
CIE-LCHlch(69.56, 23.45, 301.76°)
OKLaboklab(74.22% 0.0276 -0.0543)
OKLCHoklch(74.22% 0.061 296.9)
XYZxyz(42.0929, 40.1209, 63.9071)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4CE #C3CEA4
analogous
#A4AECE #AFA4CE #C4A4CE
triadic
#AFA4CE #CEAFA4 #A4CEAF
tetradic
#AFA4CE #CEA4AE #C3CEA4 #A4CEC4
square
#AFA4CE #CEA4AE #C3CEA4 #A4CEC4
split-complementary
#AFA4CE #CEC4A4 #AECEA4
monochromatic
#6A57A1 #8C7CB9 #AFA4CE #D2CCE3 #EEEBF4

Accessibility & contrast

On white

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

On black

9.02
#AFA4CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4CE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4CE#FFFFFF#000000##000000
##AFA4CE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAAD0
Deuteranopia (green-blind)
#9DA9CD
Tritanopia (blue-blind)
#AAAAB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa4ce;
/* rgb */ color: rgb(175, 164, 206);
/* oklch */ color: oklch(74.2% 0.061 296.9);
Tailwind
colors: {
  custom: {
    50: '#c7bfdd',
    500: '#afa4ce',
    950: '#000000',
  },
}
SCSS
$custom: #afa4ce;
$custom-light: #c7bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4ce",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 206
  },
  "hsl": {
    "h": 255.714,
    "s": 30,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74223,
    "c": 0.0609,
    "h": 296.9
  },
  "luminance": 0.40121
}

Semantic roles & 50–950 ramp

primary
#AFA4CE
secondary
#E8EBE0
accent
#A93D8C
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA4CE

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

Preview Lab → · Contrast checker → · Palette generator →

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