#D9CCFA#D9CCFA

#D9CCFA is a very light, moderate violet. Relative luminance 0.648; OKLCH L 87.1% C 0.064 H 298.0°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#D9CCFA
RGBrgb(217, 204, 250)
HSLhsl(257, 82%, 89%)
HSVhsv(257, 18%, 98%)
CMYKcmyk(13.2%, 18.4%, 0%, 2%)
CIE-LABlab(84.40, 13.24, -20.90)
CIE-LCHlch(84.40, 24.74, 302.36°)
OKLaboklab(87.05% 0.0302 -0.0568)
OKLCHoklch(87.05% 0.064 298)
XYZxyz(67.4600, 64.8394, 99.3852)
Luminance0.6484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CCFA #EDFACC
analogous
#CCD6FA #D9CCFA #F0CCFA
triadic
#D9CCFA #FAD9CC #CCFAD9
tetradic
#D9CCFA #FACCD6 #EDFACC #CCFAF0
square
#D9CCFA #FACCD6 #EDFACC #CCFAF0
split-complementary
#D9CCFA #FAF0CC #D6FACC
monochromatic
#865DEF #AF94F5 #D9CCFA #EAE3FC #EAE3FC

Accessibility & contrast

On white

1.50
#D9CCFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#D9CCFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CCFA
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CCFA#FFFFFF#000000##000000
##D9CCFA1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3D3FC
Deuteranopia (green-blind)
#C5D2F9
Tritanopia (blue-blind)
#D3D3DB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9ccfa;
/* rgb */ color: rgb(217, 204, 250);
/* oklch */ color: oklch(87.1% 0.064 298.0);
Tailwind
colors: {
  custom: {
    50: '#e5dbfc',
    500: '#d9ccfa',
    950: '#000000',
  },
}
SCSS
$custom: #d9ccfa;
$custom-light: #e5dbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ccfa",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 250
  },
  "hsl": {
    "h": 256.957,
    "s": 82.143,
    "l": 89.02
  },
  "oklch": {
    "l": 0.87054,
    "c": 0.06428,
    "h": 298
  },
  "luminance": 0.6484
}

Semantic roles & 50–950 ramp

primary
#D9CCFA
secondary
#C8E08B
accent
#DF07A2
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151517
muted
#848485

Preview Lab

Preview with #D9CCFA

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

Preview Lab → · Contrast checker → · Palette generator →

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