#AFA0CB#AFA0CB

#AFA0CB is a light, moderate violet. Relative luminance 0.386; OKLCH L 73.3% C 0.063 H 300.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#AFA0CB
RGBrgb(175, 160, 203)
HSLhsl(261, 29%, 71%)
HSVhsv(261, 21%, 80%)
CMYKcmyk(13.8%, 21.2%, 0%, 20.4%)
CIE-LABlab(68.44, 13.92, -19.99)
CIE-LCHlch(68.44, 24.36, 304.86°)
OKLaboklab(73.32% 0.0324 -0.0544)
OKLCHoklch(73.32% 0.063 300.8)
XYZxyz(41.0273, 38.5673, 61.7711)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0CB #BCCBA0
analogous
#A0A6CB #AFA0CB #C4A0CB
triadic
#AFA0CB #CBAFA0 #A0CBAF
tetradic
#AFA0CB #CBA0A6 #BCCBA0 #A0CBC4
square
#AFA0CB #CBA0A6 #BCCBA0 #A0CBC4
split-complementary
#AFA0CB #CBC4A0 #A6CBA0
monochromatic
#6E559B #8E78B5 #AFA0CB #D0C8E1 #EEEBF4

Accessibility & contrast

On white

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

On black

8.71
#AFA0CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0CB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0CB#FFFFFF#000000##000000
##AFA0CB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CD
Deuteranopia (green-blind)
#9AA7CA
Tritanopia (blue-blind)
#AAA6AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa0cb;
/* rgb */ color: rgb(175, 160, 203);
/* oklch */ color: oklch(73.3% 0.063 300.8);
Tailwind
colors: {
  custom: {
    50: '#c7bcdb',
    500: '#afa0cb',
    950: '#000000',
  },
}
SCSS
$custom: #afa0cb;
$custom-light: #c7bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0cb",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 203
  },
  "hsl": {
    "h": 260.93,
    "s": 29.252,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73322,
    "c": 0.06333,
    "h": 300.8
  },
  "luminance": 0.38567
}

Semantic roles & 50–950 ramp

primary
#AFA0CB
secondary
#E5E9DE
accent
#A83E83
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131215
muted
#828183

Preview Lab

Preview with #AFA0CB

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

Preview Lab → · Contrast checker → · Palette generator →

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