#D7C2EA#D7C2EA

#D7C2EA is a very light, muted violet. Relative luminance 0.590; OKLCH L 84.4% C 0.059 H 308.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D7C2EA
RGBrgb(215, 194, 234)
HSLhsl(272, 49%, 84%)
HSVhsv(272, 17%, 92%)
CMYKcmyk(8.1%, 17.1%, 0%, 8.2%)
CIE-LABlab(81.28, 14.72, -17.11)
CIE-LCHlch(81.28, 22.57, 310.71°)
OKLaboklab(84.42% 0.0371 -0.0462)
OKLCHoklch(84.42% 0.059 308.7)
XYZxyz(62.1648, 58.9715, 85.9337)
Luminance0.5897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C2EA #D5EAC2
analogous
#C3C2EA #D7C2EA #EAC2E9
triadic
#D7C2EA #EAD7C2 #C2EAD7
tetradic
#D7C2EA #EAC3C2 #D5EAC2 #C2E9EA
square
#D7C2EA #EAC3C2 #D5EAC2 #C2E9EA
split-complementary
#D7C2EA #E9EAC2 #C2EAC3
monochromatic
#9B67CB #B994DA #D7C2EA #F0E8F7 #F0E8F7

Accessibility & contrast

On white

1.64
#D7C2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D7C2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C2EA
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C2EA#FFFFFF#000000##000000
##D7C2EA1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCC9EC
Deuteranopia (green-blind)
#C0CAE9
Tritanopia (blue-blind)
#D5C7CF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7c2ea;
/* rgb */ color: rgb(215, 194, 234);
/* oklch */ color: oklch(84.4% 0.059 308.7);
Tailwind
colors: {
  custom: {
    50: '#e3d4f0',
    500: '#d7c2ea',
    950: '#000000',
  },
}
SCSS
$custom: #d7c2ea;
$custom-light: #e3d4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c2ea",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 234
  },
  "hsl": {
    "h": 271.5,
    "s": 48.78,
    "l": 83.922
  },
  "oklch": {
    "l": 0.8442,
    "c": 0.05922,
    "h": 308.7
  },
  "luminance": 0.58971
}

Semantic roles & 50–950 ramp

primary
#D7C2EA
secondary
#A7C68A
accent
#BC296F
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151416
muted
#848385

Preview Lab

Preview with #D7C2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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