#AFA0CF#AFA0CF

#AFA0CF is a light, moderate violet. Relative luminance 0.388; OKLCH L 73.5% C 0.069 H 299.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFA0CF
RGBrgb(175, 160, 207)
HSLhsl(259, 33%, 72%)
HSVhsv(259, 23%, 81%)
CMYKcmyk(15.5%, 22.7%, 0%, 18.8%)
CIE-LABlab(68.58, 14.79, -21.98)
CIE-LCHlch(68.58, 26.50, 303.94°)
OKLaboklab(73.48% 0.0337 -0.06)
OKLCHoklch(73.48% 0.069 299.3)
XYZxyz(41.5102, 38.7605, 64.3140)
Luminance0.3876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0CF #C0CFA0
analogous
#A0A9CF #AFA0CF #C7A0CF
triadic
#AFA0CF #CFAFA0 #A0CFAF
tetradic
#AFA0CF #CFA0A9 #C0CFA0 #A0CFC7
square
#AFA0CF #CFA0A9 #C0CFA0 #A0CFC7
split-complementary
#AFA0CF #CFC7A0 #A9CFA0
monochromatic
#6C52A2 #8D77BA #AFA0CF #D1C9E4 #EEEBF5

Accessibility & contrast

On white

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

On black

8.75
#AFA0CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0CF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0CF#FFFFFF#000000##000000
##AFA0CF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa0cf;
/* rgb */ color: rgb(175, 160, 207);
/* oklch */ color: oklch(73.5% 0.069 299.3);
Tailwind
colors: {
  custom: {
    50: '#c7bcdd',
    500: '#afa0cf',
    950: '#000000',
  },
}
SCSS
$custom: #afa0cf;
$custom-light: #c7bcdd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0cf",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 207
  },
  "hsl": {
    "h": 259.149,
    "s": 32.867,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73477,
    "c": 0.06882,
    "h": 299.3
  },
  "luminance": 0.38761
}

Semantic roles & 50–950 ramp

primary
#AFA0CF
secondary
#E8EBE0
accent
#AC3A87
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA0CF

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

Preview Lab → · Contrast checker → · Palette generator →

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