#AFA2D0#AFA2D0

#AFA2D0 is a light, moderate violet. Relative luminance 0.395; OKLCH L 73.9% C 0.067 H 297.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFA2D0
RGBrgb(175, 162, 208)
HSLhsl(257, 33%, 73%)
HSVhsv(257, 22%, 82%)
CMYKcmyk(15.9%, 22.1%, 0%, 18.4%)
CIE-LABlab(69.12, 13.90, -21.71)
CIE-LCHlch(69.12, 25.78, 302.62°)
OKLaboklab(73.91% 0.0311 -0.0593)
OKLCHoklch(73.91% 0.067 297.7)
XYZxyz(41.9823, 39.5085, 65.0764)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2D0 #C3D0A2
analogous
#A2ACD0 #AFA2D0 #C6A2D0
triadic
#AFA2D0 #D0AFA2 #A2D0AF
tetradic
#AFA2D0 #D0A2AC #C3D0A2 #A2D0C6
square
#AFA2D0 #D0A2AC #C3D0A2 #A2D0C6
split-complementary
#AFA2D0 #D0C6A2 #ACD0A2
monochromatic
#6A53A4 #8C79BB #AFA2D0 #D2CBE5 #EEEBF5

Accessibility & contrast

On white

2.36
#AFA2D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#AFA2D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2D0
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2D0#FFFFFF#000000##000000
##AFA2D01.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A9D2
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#A9A9B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa2d0;
/* rgb */ color: rgb(175, 162, 208);
/* oklch */ color: oklch(73.9% 0.067 297.7);
Tailwind
colors: {
  custom: {
    50: '#c7bdde',
    500: '#afa2d0',
    950: '#000000',
  },
}
SCSS
$custom: #afa2d0;
$custom-light: #c7bdde;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2d0",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 208
  },
  "hsl": {
    "h": 256.957,
    "s": 32.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73907,
    "c": 0.06693,
    "h": 297.7
  },
  "luminance": 0.39509
}

Semantic roles & 50–950 ramp

primary
#AFA2D0
secondary
#E8EBE0
accent
#AC3A8B
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA2D0

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

Preview Lab → · Contrast checker → · Palette generator →

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