#DED8F2#DED8F2

#DED8F2 is a very light, muted violet. Relative luminance 0.711; OKLCH L 89.5% C 0.036 H 296.2°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#DED8F2
RGBrgb(222, 216, 242)
HSLhsl(254, 50%, 90%)
HSVhsv(254, 11%, 95%)
CMYKcmyk(8.3%, 10.7%, 0%, 5.1%)
CIE-LABlab(87.51, 6.88, -11.96)
CIE-LCHlch(87.51, 13.79, 299.91°)
OKLaboklab(89.49% 0.0158 -0.0321)
OKLCHoklch(89.49% 0.036 296.2)
XYZxyz(70.7040, 71.0520, 93.9767)
Luminance0.7105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED8F2 #ECF2D8
analogous
#D8DFF2 #DED8F2 #EBD8F2
triadic
#DED8F2 #F2DED8 #D8F2DE
tetradic
#DED8F2 #F2D8DF #ECF2D8 #D8F2EB
square
#DED8F2 #F2D8DF #ECF2D8 #D8F2EB
split-complementary
#DED8F2 #F2EBD8 #DFF2D8
monochromatic
#907CD3 #B7AAE3 #DED8F2 #ECE8F7 #ECE8F7

Accessibility & contrast

On white

1.38
#DED8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#DED8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED8F2
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED8F2#FFFFFF#000000##000000
##DED8F21.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3DBF3
Deuteranopia (green-blind)
#D4DBF1
Tritanopia (blue-blind)
#DBDCE0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ded8f2;
/* rgb */ color: rgb(222, 216, 242);
/* oklch */ color: oklch(89.5% 0.036 296.2);
Tailwind
colors: {
  custom: {
    50: '#e8e4f6',
    500: '#ded8f2',
    950: '#000000',
  },
}
SCSS
$custom: #ded8f2;
$custom-light: #e8e4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ded8f2",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 242
  },
  "hsl": {
    "h": 253.846,
    "s": 50,
    "l": 89.804
  },
  "oklch": {
    "l": 0.89489,
    "c": 0.03582,
    "h": 296.2
  },
  "luminance": 0.71052
}

Semantic roles & 50–950 ramp

primary
#DED8F2
secondary
#C5D09E
accent
#BD289B
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#161517
muted
#848485

Preview Lab

Preview with #DED8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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