#AFA1CA#AFA1CA

#AFA1CA is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.5% C 0.060 H 300.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#AFA1CA
RGBrgb(175, 161, 202)
HSLhsl(260, 28%, 71%)
HSVhsv(260, 20%, 79%)
CMYKcmyk(13.4%, 20.3%, 0%, 20.8%)
CIE-LABlab(68.66, 13.15, -19.10)
CIE-LCHlch(68.66, 23.19, 304.55°)
OKLaboklab(73.48% 0.0306 -0.0519)
OKLCHoklch(73.48% 0.06 300.5)
XYZxyz(41.0826, 38.8679, 61.2036)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1CA #BCCAA1
analogous
#A1A7CA #AFA1CA #C3A1CA
triadic
#AFA1CA #CAAFA1 #A1CAAF
tetradic
#AFA1CA #CAA1A7 #BCCAA1 #A1CAC3
square
#AFA1CA #CAA1A7 #BCCAA1 #A1CAC3
split-complementary
#AFA1CA #CAC3A1 #A7CAA1
monochromatic
#6E579A #8E7AB4 #AFA1CA #D0C8E0 #EEEBF4

Accessibility & contrast

On white

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

On black

8.77
#AFA1CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1CA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1CA#FFFFFF#000000##000000
##AFA1CA1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A7CC
Deuteranopia (green-blind)
#9BA7C9
Tritanopia (blue-blind)
#ABA7AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa1ca;
/* rgb */ color: rgb(175, 161, 202);
/* oklch */ color: oklch(73.5% 0.060 300.5);
Tailwind
colors: {
  custom: {
    50: '#c7bcda',
    500: '#afa1ca',
    950: '#000000',
  },
}
SCSS
$custom: #afa1ca;
$custom-light: #c7bcda;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1ca",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 202
  },
  "hsl": {
    "h": 260.488,
    "s": 27.891,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7348,
    "c": 0.0603,
    "h": 300.5
  },
  "luminance": 0.38868
}

Semantic roles & 50–950 ramp

primary
#AFA1CA
secondary
#E5E9DE
accent
#A73F83
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA1CA

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

Preview Lab → · Contrast checker → · Palette generator →

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