#AFA0CD#AFA0CD

#AFA0CD is a light, moderate violet. Relative luminance 0.387; OKLCH L 73.4% C 0.066 H 300.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFA0CD
RGBrgb(175, 160, 205)
HSLhsl(260, 31%, 72%)
HSVhsv(260, 22%, 80%)
CMYKcmyk(14.6%, 22%, 0%, 19.6%)
CIE-LABlab(68.51, 14.36, -20.99)
CIE-LCHlch(68.51, 25.43, 304.38°)
OKLaboklab(73.4% 0.0331 -0.0572)
OKLCHoklch(73.4% 0.066 300)
XYZxyz(41.2672, 38.6633, 63.0345)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0CD #BECDA0
analogous
#A0A8CD #AFA0CD #C6A0CD
triadic
#AFA0CD #CDAFA0 #A0CDAF
tetradic
#AFA0CD #CDA0A8 #BECDA0 #A0CDC6
square
#AFA0CD #CDA0A8 #BECDA0 #A0CDC6
split-complementary
#AFA0CD #CDC6A0 #A8CDA0
monochromatic
#6D549F #8D78B8 #AFA0CD #D1C8E2 #EEEBF4

Accessibility & contrast

On white

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

On black

8.73
#AFA0CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0CD
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0CD#FFFFFF#000000##000000
##AFA0CD1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#99A7CC
Tritanopia (blue-blind)
#AAA6AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa0cd;
/* rgb */ color: rgb(175, 160, 205);
/* oklch */ color: oklch(73.4% 0.066 300.0);
Tailwind
colors: {
  custom: {
    50: '#c7bcdc',
    500: '#afa0cd',
    950: '#000000',
  },
}
SCSS
$custom: #afa0cd;
$custom-light: #c7bcdc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0cd",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 205
  },
  "hsl": {
    "h": 260,
    "s": 31.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73399,
    "c": 0.06607,
    "h": 300
  },
  "luminance": 0.38663
}

Semantic roles & 50–950 ramp

primary
#AFA0CD
secondary
#E6EADF
accent
#AA3C85
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA0CD

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

Preview Lab → · Contrast checker → · Palette generator →

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