#D2AFFD#D2AFFD

#D2AFFD is a light, moderate violet. Relative luminance 0.515; OKLCH L 81.2% C 0.113 H 304.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D2AFFD
RGBrgb(210, 175, 253)
HSLhsl(267, 95%, 84%)
HSVhsv(267, 31%, 99%)
CMYKcmyk(17%, 30.8%, 0%, 0.8%)
CIE-LABlab(76.95, 27.39, -33.95)
CIE-LCHlch(76.95, 43.62, 308.89°)
OKLaboklab(81.21% 0.0643 -0.0934)
OKLCHoklch(81.21% 0.113 304.6)
XYZxyz(59.6344, 51.4536, 99.6994)
Luminance0.5145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFFD #DAFDAF
analogous
#AFB3FD #D2AFFD #F9AFFD
triadic
#D2AFFD #FDD2AF #AFFDD2
tetradic
#D2AFFD #FDAFB3 #DAFDAF #AFFDF9
square
#D2AFFD #FDAFB3 #DAFDAF #AFFDF9
split-complementary
#D2AFFD #FDF9AF #B3FDAF
monochromatic
#8F38FA #B073FC #D2AFFD #EEE1FE #EEE1FE

Accessibility & contrast

On white

1.86
#D2AFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#D2AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFFD
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFFD#FFFFFF#000000##000000
##D2AFFD1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A6BEFB
Tritanopia (blue-blind)
#CCBACB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2affd;
/* rgb */ color: rgb(210, 175, 253);
/* oklch */ color: oklch(81.2% 0.113 304.6);
Tailwind
colors: {
  custom: {
    50: '#e0c7fe',
    500: '#d2affd',
    950: '#000000',
  },
}
SCSS
$custom: #d2affd;
$custom-light: #e0c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d2affd",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 266.923,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81206,
    "c": 0.11343,
    "h": 304.6
  },
  "luminance": 0.51453
}

Semantic roles & 50–950 ramp

primary
#D2AFFD
secondary
#AEE26E
accent
#E6007F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D2AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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