#AFA6CE#AFA6CE

#AFA6CE is a light, muted violet. Relative luminance 0.408; OKLCH L 74.6% C 0.058 H 295.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AFA6CE
RGBrgb(175, 166, 206)
HSLhsl(254, 29%, 73%)
HSVhsv(254, 19%, 81%)
CMYKcmyk(15%, 19.4%, 0%, 19.2%)
CIE-LABlab(70.07, 11.23, -19.17)
CIE-LCHlch(70.07, 22.22, 300.37°)
OKLaboklab(74.62% 0.0246 -0.0522)
OKLCHoklch(74.62% 0.058 295.3)
XYZxyz(42.4536, 40.8424, 64.0273)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6CE #C5CEA6
analogous
#A6B1CE #AFA6CE #C3A6CE
triadic
#AFA6CE #CEAFA6 #A6CEAF
tetradic
#AFA6CE #CEA6B1 #C5CEA6 #A6CEC3
square
#AFA6CE #CEA6B1 #C5CEA6 #A6CEC3
split-complementary
#AFA6CE #CEC3A6 #B1CEA6
monochromatic
#6959A1 #8C7FB8 #AFA6CE #D2CDE4 #EDEBF4

Accessibility & contrast

On white

2.29
#AFA6CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AFA6CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6CE
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6CE#FFFFFF#000000##000000
##AFA6CE1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EACD0
Deuteranopia (green-blind)
#9FABCD
Tritanopia (blue-blind)
#A9ACB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa6ce;
/* rgb */ color: rgb(175, 166, 206);
/* oklch */ color: oklch(74.6% 0.058 295.3);
Tailwind
colors: {
  custom: {
    50: '#c7c0dd',
    500: '#afa6ce',
    950: '#000000',
  },
}
SCSS
$custom: #afa6ce;
$custom-light: #c7c0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6ce",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 206
  },
  "hsl": {
    "h": 253.5,
    "s": 28.986,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74619,
    "c": 0.05769,
    "h": 295.3
  },
  "luminance": 0.40843
}

Semantic roles & 50–950 ramp

primary
#AFA6CE
secondary
#E8EBE0
accent
#A83E90
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA6CE

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

Preview Lab → · Contrast checker → · Palette generator →

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