#AFA0CE#AFA0CE

#AFA0CE is a light, moderate violet. Relative luminance 0.387; OKLCH L 73.4% C 0.067 H 299.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AFA0CE
RGBrgb(175, 160, 206)
HSLhsl(260, 32%, 72%)
HSVhsv(260, 22%, 81%)
CMYKcmyk(15%, 22.3%, 0%, 19.2%)
CIE-LABlab(68.54, 14.58, -21.49)
CIE-LCHlch(68.54, 25.96, 304.15°)
OKLaboklab(73.44% 0.0334 -0.0586)
OKLCHoklch(73.44% 0.067 299.7)
XYZxyz(41.3883, 38.7117, 63.6722)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0CE #BFCEA0
analogous
#A0A8CE #AFA0CE #C6A0CE
triadic
#AFA0CE #CEAFA0 #A0CEAF
tetradic
#AFA0CE #CEA0A8 #BFCEA0 #A0CEC6
square
#AFA0CE #CEA0A8 #BFCEA0 #A0CEC6
split-complementary
#AFA0CE #CEC6A0 #A8CEA0
monochromatic
#6C53A1 #8D78B9 #AFA0CE #D1C8E3 #EEEBF5

Accessibility & contrast

On white

2.40
#AFA0CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AFA0CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0CE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0CE#FFFFFF#000000##000000
##AFA0CE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7D0
Deuteranopia (green-blind)
#99A7CD
Tritanopia (blue-blind)
#AAA7B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa0ce;
/* rgb */ color: rgb(175, 160, 206);
/* oklch */ color: oklch(73.4% 0.067 299.7);
Tailwind
colors: {
  custom: {
    50: '#c7bcdd',
    500: '#afa0ce',
    950: '#000000',
  },
}
SCSS
$custom: #afa0ce;
$custom-light: #c7bcdd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0ce",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 206
  },
  "hsl": {
    "h": 259.565,
    "s": 31.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73438,
    "c": 0.06744,
    "h": 299.7
  },
  "luminance": 0.38712
}

Semantic roles & 50–950 ramp

primary
#AFA0CE
secondary
#E7EBDF
accent
#AB3B86
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA0CE

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

Preview Lab → · Contrast checker → · Palette generator →

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