#D9C8FF#D9C8FF

#D9C8FF is a very light, moderate violet. Relative luminance 0.633; OKLCH L 86.5% C 0.077 H 298.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D9C8FF
RGBrgb(217, 200, 255)
HSLhsl(259, 100%, 89%)
HSVhsv(259, 22%, 100%)
CMYKcmyk(14.9%, 21.6%, 0%, 0%)
CIE-LABlab(83.59, 16.42, -24.79)
CIE-LCHlch(83.59, 29.73, 303.52°)
OKLaboklab(86.48% 0.0374 -0.0676)
OKLCHoklch(86.48% 0.077 298.9)
XYZxyz(67.3158, 63.2801, 103.2562)
Luminance0.6328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C8FF #EEFFC8
analogous
#C8D3FF #D9C8FF #F4C8FF
triadic
#D9C8FF #FFD9C8 #C8FFD9
tetradic
#D9C8FF #FFC8D3 #EEFFC8 #C8FFF4
square
#D9C8FF #FFC8D3 #EEFFC8 #C8FFF4
split-complementary
#D9C8FF #FFF4C8 #D3FFC8
monochromatic
#844EFF #AF8BFF #D9C8FF #EAE0FF #EAE0FF

Accessibility & contrast

On white

1.54
#D9C8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D9C8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C8FF
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C8FF#FFFFFF#000000##000000
##D9C8FF1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FF
Deuteranopia (green-blind)
#BFD0FD
Tritanopia (blue-blind)
#D3D0DB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9c8ff;
/* rgb */ color: rgb(217, 200, 255);
/* oklch */ color: oklch(86.5% 0.077 298.9);
Tailwind
colors: {
  custom: {
    50: '#e5d8ff',
    500: '#d9c8ff',
    950: '#000000',
  },
}
SCSS
$custom: #d9c8ff;
$custom-light: #e5d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c8ff",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 255
  },
  "hsl": {
    "h": 258.545,
    "s": 100,
    "l": 89.216
  },
  "oklch": {
    "l": 0.86479,
    "c": 0.07723,
    "h": 298.9
  },
  "luminance": 0.6328
}

Semantic roles & 50–950 ramp

primary
#D9C8FF
secondary
#C9E982
accent
#E6009F
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #D9C8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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