#AFA1CD#AFA1CD

#AFA1CD is a light, moderate violet. Relative luminance 0.390; OKLCH L 73.6% C 0.064 H 299.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AFA1CD
RGBrgb(175, 161, 205)
HSLhsl(259, 31%, 72%)
HSVhsv(259, 21%, 80%)
CMYKcmyk(14.6%, 21.5%, 0%, 19.6%)
CIE-LABlab(68.76, 13.80, -20.60)
CIE-LCHlch(68.76, 24.80, 303.81°)
OKLaboklab(73.6% 0.0316 -0.0561)
OKLCHoklch(73.6% 0.064 299.4)
XYZxyz(41.4413, 39.0114, 63.0925)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1CD #BFCDA1
analogous
#A1A9CD #AFA1CD #C5A1CD
triadic
#AFA1CD #CDAFA1 #A1CDAF
tetradic
#AFA1CD #CDA1A9 #BFCDA1 #A1CDC5
square
#AFA1CD #CDA1A9 #BFCDA1 #A1CDC5
split-complementary
#AFA1CD #CDC5A1 #A9CDA1
monochromatic
#6C559F #8D79B8 #AFA1CD #D1C9E2 #EEEBF4

Accessibility & contrast

On white

2.39
#AFA1CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AFA1CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1CD
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1CD#FFFFFF#000000##000000
##AFA1CD1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8CF
Deuteranopia (green-blind)
#9AA7CC
Tritanopia (blue-blind)
#AAA7B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa1cd;
/* rgb */ color: rgb(175, 161, 205);
/* oklch */ color: oklch(73.6% 0.064 299.4);
Tailwind
colors: {
  custom: {
    50: '#c7bcdc',
    500: '#afa1cd',
    950: '#000000',
  },
}
SCSS
$custom: #afa1cd;
$custom-light: #c7bcdc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1cd",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 205
  },
  "hsl": {
    "h": 259.091,
    "s": 30.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.06441,
    "h": 299.4
  },
  "luminance": 0.39011
}

Semantic roles & 50–950 ramp

primary
#AFA1CD
secondary
#E7EADF
accent
#A93C87
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA1CD

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

Preview Lab → · Contrast checker → · Palette generator →

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