#AFA2D3#AFA2D3

#AFA2D3 is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.0% C 0.071 H 296.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFA2D3
RGBrgb(175, 162, 211)
HSLhsl(256, 36%, 73%)
HSVhsv(256, 23%, 83%)
CMYKcmyk(17.1%, 23.2%, 0%, 17.3%)
CIE-LABlab(69.22, 14.56, -23.21)
CIE-LCHlch(69.22, 27.39, 302.10°)
OKLaboklab(74.02% 0.032 -0.0635)
OKLCHoklch(74.02% 0.071 296.8)
XYZxyz(42.3549, 39.6575, 67.0387)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2D3 #C6D3A2
analogous
#A2ADD3 #AFA2D3 #C7A2D3
triadic
#AFA2D3 #D3AFA2 #A2D3AF
tetradic
#AFA2D3 #D3A2AD #C6D3A2 #A2D3C7
square
#AFA2D3 #D3A2AD #C6D3A2 #A2D3C7
split-complementary
#AFA2D3 #D3C7A2 #ADD3A2
monochromatic
#6850AA #8B78BF #AFA2D3 #D3CCE7 #EDEAF5

Accessibility & contrast

On white

2.35
#AFA2D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFA2D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2D3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2D3#FFFFFF#000000##000000
##AFA2D31.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A9D5
Deuteranopia (green-blind)
#99A8D2
Tritanopia (blue-blind)
#A8A9B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa2d3;
/* rgb */ color: rgb(175, 162, 211);
/* oklch */ color: oklch(74.0% 0.071 296.8);
Tailwind
colors: {
  custom: {
    50: '#c7bde0',
    500: '#afa2d3',
    950: '#000000',
  },
}
SCSS
$custom: #afa2d3;
$custom-light: #c7bde0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2d3",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 211
  },
  "hsl": {
    "h": 255.918,
    "s": 35.766,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.07108,
    "h": 296.8
  },
  "luminance": 0.39658
}

Semantic roles & 50–950 ramp

primary
#AFA2D3
secondary
#E8ECDF
accent
#AF378F
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA2D3

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

Preview Lab → · Contrast checker → · Palette generator →

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