#DED2FF#DED2FF

#DED2FF is a very light, moderate violet. Relative luminance 0.688; OKLCH L 88.8% C 0.062 H 297.3°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#DED2FF
RGBrgb(222, 210, 255)
HSLhsl(256, 100%, 91%)
HSVhsv(256, 18%, 100%)
CMYKcmyk(12.9%, 17.6%, 0%, 0%)
CIE-LABlab(86.43, 12.64, -20.45)
CIE-LCHlch(86.43, 24.04, 301.73°)
OKLaboklab(88.78% 0.0287 -0.0555)
OKLCHoklch(88.78% 0.062 297.3)
XYZxyz(71.2171, 68.8425, 104.1244)
Luminance0.6884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED2FF #F3FFD2
analogous
#D2DCFF #DED2FF #F4D2FF
triadic
#DED2FF #FFDED2 #D2FFDE
tetradic
#DED2FF #FFD2DC #F3FFD2 #D2FFF4
square
#DED2FF #FFD2DC #F3FFD2 #D2FFF4
split-complementary
#DED2FF #FFF4D2 #DCFFD2
monochromatic
#8458FF #B195FF #DED2FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.42
#DED2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#DED2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED2FF
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED2FF#FFFFFF#000000##000000
##DED2FF1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9D8FF
Deuteranopia (green-blind)
#CBD8FE
Tritanopia (blue-blind)
#D8D8E1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ded2ff;
/* rgb */ color: rgb(222, 210, 255);
/* oklch */ color: oklch(88.8% 0.062 297.3);
Tailwind
colors: {
  custom: {
    50: '#e8dfff',
    500: '#ded2ff',
    950: '#000000',
  },
}
SCSS
$custom: #ded2ff;
$custom-light: #e8dfff;
$custom-dark: #000000;
JSON
{
  "hex": "#ded2ff",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 255
  },
  "hsl": {
    "h": 256,
    "s": 100,
    "l": 91.176
  },
  "oklch": {
    "l": 0.88776,
    "c": 0.06245,
    "h": 297.3
  },
  "luminance": 0.68843
}

Semantic roles & 50–950 ramp

primary
#DED2FF
secondary
#D1EA8B
accent
#E600A8
background
#FEFEFF
surface
#FCFCFF
border
#D5D5D7
text
#161518
muted
#848486

Preview Lab

Preview with #DED2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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