#AFA4D2#AFA4D2

#AFA4D2 is a light, moderate violet. Relative luminance 0.403; OKLCH L 74.4% C 0.066 H 295.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#AFA4D2
RGBrgb(175, 164, 210)
HSLhsl(254, 34%, 73%)
HSVhsv(254, 22%, 82%)
CMYKcmyk(16.7%, 21.9%, 0%, 17.6%)
CIE-LABlab(69.70, 13.22, -21.94)
CIE-LCHlch(69.70, 25.61, 301.08°)
OKLaboklab(74.38% 0.0288 -0.0599)
OKLCHoklch(74.38% 0.066 295.7)
XYZxyz(42.5850, 40.3178, 66.4989)
Luminance0.4032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4D2 #C7D2A4
analogous
#A4B0D2 #AFA4D2 #C6A4D2
triadic
#AFA4D2 #D2AFA4 #A4D2AF
tetradic
#AFA4D2 #D2A4B0 #C7D2A4 #A4D2C6
square
#AFA4D2 #D2A4B0 #C7D2A4 #A4D2C6
split-complementary
#AFA4D2 #D2C6A4 #B0D2A4
monochromatic
#6853A8 #8B7BBE #AFA4D2 #D3CDE6 #EDEBF5

Accessibility & contrast

On white

2.32
#AFA4D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#AFA4D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4D2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4D2#FFFFFF#000000##000000
##AFA4D21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD4
Deuteranopia (green-blind)
#9BAAD1
Tritanopia (blue-blind)
#A9ABB4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa4d2;
/* rgb */ color: rgb(175, 164, 210);
/* oklch */ color: oklch(74.4% 0.066 295.7);
Tailwind
colors: {
  custom: {
    50: '#c7bfe0',
    500: '#afa4d2',
    950: '#000000',
  },
}
SCSS
$custom: #afa4d2;
$custom-light: #c7bfe0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4d2",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 210
  },
  "hsl": {
    "h": 254.348,
    "s": 33.824,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74378,
    "c": 0.06647,
    "h": 295.7
  },
  "luminance": 0.40318
}

Semantic roles & 50–950 ramp

primary
#AFA4D2
secondary
#E9ECDF
accent
#AD3991
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA4D2

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

Preview Lab → · Contrast checker → · Palette generator →

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