#AFA7D2#AFA7D2

#AFA7D2 is a light, moderate violet. Relative luminance 0.414; OKLCH L 75.0% C 0.062 H 293.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AFA7D2
RGBrgb(175, 167, 210)
HSLhsl(251, 32%, 74%)
HSVhsv(251, 20%, 82%)
CMYKcmyk(16.7%, 20.5%, 0%, 17.6%)
CIE-LABlab(70.46, 11.55, -20.77)
CIE-LCHlch(70.46, 23.77, 299.08°)
OKLaboklab(74.97% 0.0245 -0.0567)
OKLCHoklch(74.97% 0.062 293.4)
XYZxyz(43.1282, 41.4042, 66.6799)
Luminance0.4140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7D2 #CAD2A7
analogous
#A7B5D2 #AFA7D2 #C5A7D2
triadic
#AFA7D2 #D2AFA7 #A7D2AF
tetradic
#AFA7D2 #D2A7B5 #CAD2A7 #A7D2C5
square
#AFA7D2 #D2A7B5 #CAD2A7 #A7D2C5
split-complementary
#AFA7D2 #D2C5A7 #B5D2A7
monochromatic
#6556A8 #8A7FBD #AFA7D2 #D4CFE7 #EDEBF5

Accessibility & contrast

On white

2.26
#AFA7D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#AFA7D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7D2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7D2#FFFFFF#000000##000000
##AFA7D21.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EADD4
Deuteranopia (green-blind)
#9EACD1
Tritanopia (blue-blind)
#A8AEB6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa7d2;
/* rgb */ color: rgb(175, 167, 210);
/* oklch */ color: oklch(75.0% 0.062 293.4);
Tailwind
colors: {
  custom: {
    50: '#c7c1df',
    500: '#afa7d2',
    950: '#000000',
  },
}
SCSS
$custom: #afa7d2;
$custom-light: #c7c1df;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7d2",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 210
  },
  "hsl": {
    "h": 251.163,
    "s": 32.331,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74969,
    "c": 0.06173,
    "h": 293.4
  },
  "luminance": 0.41405
}

Semantic roles & 50–950 ramp

primary
#AFA7D2
secondary
#E9EBE0
accent
#AB3A96
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA7D2

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

Preview Lab → · Contrast checker → · Palette generator →

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