#D2C7EF#D2C7EF

#D2C7EF is a very light, muted violet. Relative luminance 0.608; OKLCH L 85.1% C 0.056 H 297.8°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D2C7EF
RGBrgb(210, 199, 239)
HSLhsl(257, 56%, 86%)
HSVhsv(257, 17%, 94%)
CMYKcmyk(12.1%, 16.7%, 0%, 6.3%)
CIE-LABlab(82.26, 11.44, -18.34)
CIE-LCHlch(82.26, 21.61, 301.96°)
OKLaboklab(85.14% 0.0262 -0.0497)
OKLCHoklch(85.14% 0.056 297.8)
XYZxyz(62.5786, 60.7803, 90.0796)
Luminance0.6078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C7EF #E4EFC7
analogous
#C7D0EF #D2C7EF #E6C7EF
triadic
#D2C7EF #EFD2C7 #C7EFD2
tetradic
#D2C7EF #EFC7D0 #E4EFC7 #C7EFE6
square
#D2C7EF #EFC7D0 #E4EFC7 #C7EFE6
split-complementary
#D2C7EF #EFE6C7 #D0EFC7
monochromatic
#8568D4 #AC97E1 #D2C7EF #ECE7F8 #ECE7F8

Accessibility & contrast

On white

1.60
#D2C7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D2C7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C7EF
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C7EF#FFFFFF#000000##000000
##D2C7EF1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFCDF1
Deuteranopia (green-blind)
#C1CCEE
Tritanopia (blue-blind)
#CDCDD4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2c7ef;
/* rgb */ color: rgb(210, 199, 239);
/* oklch */ color: oklch(85.1% 0.056 297.8);
Tailwind
colors: {
  custom: {
    50: '#e0d8f4',
    500: '#d2c7ef',
    950: '#000000',
  },
}
SCSS
$custom: #d2c7ef;
$custom-light: #e0d8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c7ef",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 239
  },
  "hsl": {
    "h": 256.5,
    "s": 55.556,
    "l": 85.882
  },
  "oklch": {
    "l": 0.85139,
    "c": 0.05616,
    "h": 297.8
  },
  "luminance": 0.6078
}

Semantic roles & 50–950 ramp

primary
#D2C7EF
secondary
#BBCD8D
accent
#C32297
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151417
muted
#848385

Preview Lab

Preview with #D2C7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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