#AFA0CA#AFA0CA

#AFA0CA is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.3% C 0.062 H 301.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AFA0CA
RGBrgb(175, 160, 202)
HSLhsl(261, 28%, 71%)
HSVhsv(261, 21%, 79%)
CMYKcmyk(13.4%, 20.8%, 0%, 20.8%)
CIE-LABlab(68.40, 13.71, -19.48)
CIE-LCHlch(68.40, 23.82, 305.13°)
OKLaboklab(73.28% 0.0321 -0.053)
OKLCHoklch(73.28% 0.062 301.2)
XYZxyz(40.9086, 38.5198, 61.1456)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0CA #BBCAA0
analogous
#A0A6CA #AFA0CA #C4A0CA
triadic
#AFA0CA #CAAFA0 #A0CAAF
tetradic
#AFA0CA #CAA0A6 #BBCAA0 #A0CAC4
square
#AFA0CA #CAA0A6 #BBCAA0 #A0CAC4
split-complementary
#AFA0CA #CAC4A0 #A6CAA0
monochromatic
#6E569A #8E79B4 #AFA0CA #D0C7E0 #EEEBF4

Accessibility & contrast

On white

2.41
#AFA0CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AFA0CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0CA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0CA#FFFFFF#000000##000000
##AFA0CA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CC
Deuteranopia (green-blind)
#9AA7C9
Tritanopia (blue-blind)
#ABA6AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa0ca;
/* rgb */ color: rgb(175, 160, 202);
/* oklch */ color: oklch(73.3% 0.062 301.2);
Tailwind
colors: {
  custom: {
    50: '#c7bcda',
    500: '#afa0ca',
    950: '#000000',
  },
}
SCSS
$custom: #afa0ca;
$custom-light: #c7bcda;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0ca",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 202
  },
  "hsl": {
    "h": 261.429,
    "s": 28.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73283,
    "c": 0.06196,
    "h": 301.2
  },
  "luminance": 0.3852
}

Semantic roles & 50–950 ramp

primary
#AFA0CA
secondary
#E4E8DD
accent
#A73E82
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA0CA

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

Preview Lab → · Contrast checker → · Palette generator →

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