#AFA1CE#AFA1CE

#AFA1CE is a light, moderate violet. Relative luminance 0.391; OKLCH L 73.6% C 0.066 H 299.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFA1CE
RGBrgb(175, 161, 206)
HSLhsl(259, 31%, 72%)
HSVhsv(259, 22%, 81%)
CMYKcmyk(15%, 21.8%, 0%, 19.2%)
CIE-LABlab(68.79, 14.02, -21.10)
CIE-LCHlch(68.79, 25.33, 303.60°)
OKLaboklab(73.63% 0.0319 -0.0575)
OKLCHoklch(73.63% 0.066 299)
XYZxyz(41.5624, 39.0598, 63.7302)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1CE #C0CEA1
analogous
#A1AACE #AFA1CE #C6A1CE
triadic
#AFA1CE #CEAFA1 #A1CEAF
tetradic
#AFA1CE #CEA1AA #C0CEA1 #A1CEC6
square
#AFA1CE #CEA1AA #C0CEA1 #A1CEC6
split-complementary
#AFA1CE #CEC6A1 #AACEA1
monochromatic
#6C54A1 #8D79B9 #AFA1CE #D1C9E3 #EEEBF5

Accessibility & contrast

On white

2.38
#AFA1CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AFA1CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1CE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1CE#FFFFFF#000000##000000
##AFA1CE1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8D0
Deuteranopia (green-blind)
#9AA8CD
Tritanopia (blue-blind)
#AAA8B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa1ce;
/* rgb */ color: rgb(175, 161, 206);
/* oklch */ color: oklch(73.6% 0.066 299.0);
Tailwind
colors: {
  custom: {
    50: '#c7bcdd',
    500: '#afa1ce',
    950: '#000000',
  },
}
SCSS
$custom: #afa1ce;
$custom-light: #c7bcdd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1ce",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 206
  },
  "hsl": {
    "h": 258.667,
    "s": 31.469,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73634,
    "c": 0.06579,
    "h": 299
  },
  "luminance": 0.3906
}

Semantic roles & 50–950 ramp

primary
#AFA1CE
secondary
#E8EBE0
accent
#AA3B88
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA1CE

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

Preview Lab → · Contrast checker → · Palette generator →

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