#D5AFFD#D5AFFD

#D5AFFD is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.5% C 0.114 H 306.3°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D5AFFD
RGBrgb(213, 175, 253)
HSLhsl(269, 95%, 84%)
HSVhsv(269, 31%, 99%)
CMYKcmyk(15.8%, 30.8%, 0%, 0.8%)
CIE-LABlab(77.22, 28.29, -33.51)
CIE-LCHlch(77.22, 43.86, 310.17°)
OKLaboklab(81.47% 0.0677 -0.0921)
OKLCHoklch(81.47% 0.114 306.3)
XYZxyz(60.4968, 51.8983, 99.7398)
Luminance0.5190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AFFD #D7FDAF
analogous
#AFB0FD #D5AFFD #FCAFFD
triadic
#D5AFFD #FDD5AF #AFFDD5
tetradic
#D5AFFD #FDAFB0 #D7FDAF #AFFDFC
square
#D5AFFD #FDAFB0 #D7FDAF #AFFDFC
split-complementary
#D5AFFD #FDFCAF #B0FDAF
monochromatic
#9638FA #B673FC #D5AFFD #EFE1FE #EFE1FE

Accessibility & contrast

On white

1.85
#D5AFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D5AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5AFFD
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5AFFD#FFFFFF#000000##000000
##D5AFFD1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BDFF
Deuteranopia (green-blind)
#A8BFFB
Tritanopia (blue-blind)
#CFBACB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5affd;
/* rgb */ color: rgb(213, 175, 253);
/* oklch */ color: oklch(81.5% 0.114 306.3);
Tailwind
colors: {
  custom: {
    50: '#e2c7fe',
    500: '#d5affd',
    950: '#000000',
  },
}
SCSS
$custom: #d5affd;
$custom-light: #e2c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d5affd",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 269.231,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81473,
    "c": 0.11433,
    "h": 306.3
  },
  "luminance": 0.51898
}

Semantic roles & 50–950 ramp

primary
#D5AFFD
secondary
#AAE26E
accent
#E60076
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D5AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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