#AFA6CA#AFA6CA

#AFA6CA is a light, muted violet. Relative luminance 0.407; OKLCH L 74.5% C 0.052 H 296.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AFA6CA
RGBrgb(175, 166, 202)
HSLhsl(255, 25%, 72%)
HSVhsv(255, 18%, 79%)
CMYKcmyk(13.4%, 17.8%, 0%, 20.8%)
CIE-LABlab(69.93, 10.37, -17.17)
CIE-LCHlch(69.93, 20.06, 301.13°)
OKLaboklab(74.47% 0.0233 -0.0466)
OKLCHoklch(74.47% 0.052 296.6)
XYZxyz(41.9739, 40.6505, 61.5007)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6CA #C1CAA6
analogous
#A6AFCA #AFA6CA #C1A6CA
triadic
#AFA6CA #CAAFA6 #A6CAAF
tetradic
#AFA6CA #CAA6AF #C1CAA6 #A6CAC1
square
#AFA6CA #CAA6AF #C1CAA6 #A6CAC1
split-complementary
#AFA6CA #CAC1A6 #AFCAA6
monochromatic
#6B5C9A #8D80B3 #AFA6CA #D1CCE1 #EEECF4

Accessibility & contrast

On white

2.30
#AFA6CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AFA6CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6CA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6CA#FFFFFF#000000##000000
##AFA6CA1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FABCC
Deuteranopia (green-blind)
#A0AAC9
Tritanopia (blue-blind)
#AAABB2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa6ca;
/* rgb */ color: rgb(175, 166, 202);
/* oklch */ color: oklch(74.5% 0.052 296.6);
Tailwind
colors: {
  custom: {
    50: '#c7c0da',
    500: '#afa6ca',
    950: '#000000',
  },
}
SCSS
$custom: #afa6ca;
$custom-light: #c7c0da;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6ca",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 25.352,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74469,
    "c": 0.05209,
    "h": 296.6
  },
  "luminance": 0.40651
}

Semantic roles & 50–950 ramp

primary
#AFA6CA
secondary
#E8EAE1
accent
#A4428B
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA6CA

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

Preview Lab → · Contrast checker → · Palette generator →

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