#DED7F2#DED7F2

#DED7F2 is a very light, muted violet. Relative luminance 0.705; OKLCH L 89.3% C 0.037 H 297.5°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#DED7F2
RGBrgb(222, 215, 242)
HSLhsl(256, 51%, 90%)
HSVhsv(256, 11%, 95%)
CMYKcmyk(8.3%, 11.2%, 0%, 5.1%)
CIE-LABlab(87.26, 7.40, -12.33)
CIE-LCHlch(87.26, 14.38, 300.99°)
OKLaboklab(89.3% 0.0173 -0.0331)
OKLCHoklch(89.3% 0.037 297.5)
XYZxyz(70.4486, 70.5411, 93.8916)
Luminance0.7054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED7F2 #EBF2D7
analogous
#D7DEF2 #DED7F2 #ECD7F2
triadic
#DED7F2 #F2DED7 #D7F2DE
tetradic
#DED7F2 #F2D7DE #EBF2D7 #D7F2EC
square
#DED7F2 #F2D7DE #EBF2D7 #D7F2EC
split-complementary
#DED7F2 #F2ECD7 #DEF2D7
monochromatic
#927BD4 #B8A9E3 #DED7F2 #ECE8F7 #ECE8F7

Accessibility & contrast

On white

1.39
#DED7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#DED7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED7F2
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED7F2#FFFFFF#000000##000000
##DED7F21.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2DBF3
Deuteranopia (green-blind)
#D3DAF1
Tritanopia (blue-blind)
#DBDBE0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ded7f2;
/* rgb */ color: rgb(222, 215, 242);
/* oklch */ color: oklch(89.3% 0.037 297.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3f6',
    500: '#ded7f2',
    950: '#000000',
  },
}
SCSS
$custom: #ded7f2;
$custom-light: #e8e3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ded7f2",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 242
  },
  "hsl": {
    "h": 255.556,
    "s": 50.943,
    "l": 89.608
  },
  "oklch": {
    "l": 0.89295,
    "c": 0.03736,
    "h": 297.5
  },
  "luminance": 0.70541
}

Semantic roles & 50–950 ramp

primary
#DED7F2
secondary
#C3D09D
accent
#BE2797
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#161517
muted
#848485

Preview Lab

Preview with #DED7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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