#D7CCFC#D7CCFC

#D7CCFC is a very light, moderate violet. Relative luminance 0.647; OKLCH L 87.0% C 0.067 H 295.5°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D7CCFC
RGBrgb(215, 204, 252)
HSLhsl(254, 89%, 89%)
HSVhsv(254, 19%, 99%)
CMYKcmyk(14.7%, 19%, 0%, 1.2%)
CIE-LABlab(84.31, 13.03, -22.12)
CIE-LCHlch(84.31, 25.67, 300.51°)
OKLaboklab(86.97% 0.0287 -0.0602)
OKLCHoklch(86.97% 0.067 295.5)
XYZxyz(67.1842, 64.6607, 101.0179)
Luminance0.6466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CCFC #F1FCCC
analogous
#CCD9FC #D7CCFC #EFCCFC
triadic
#D7CCFC #FCD7CC #CCFCD7
tetradic
#D7CCFC #FCCCD9 #F1FCCC #CCFCEF
square
#D7CCFC #FCCCD9 #F1FCCC #CCFCEF
split-complementary
#D7CCFC #FCEFCC #D9FCCC
monochromatic
#7C58F5 #AA92F9 #D7CCFC #E8E2FD #E8E2FD

Accessibility & contrast

On white

1.51
#D7CCFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D7CCFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CCFC
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CCFC#FFFFFF#000000##000000
##D7CCFC1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2D3FE
Deuteranopia (green-blind)
#C3D2FB
Tritanopia (blue-blind)
#D0D3DC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7ccfc;
/* rgb */ color: rgb(215, 204, 252);
/* oklch */ color: oklch(87.0% 0.067 295.5);
Tailwind
colors: {
  custom: {
    50: '#e3dbfd',
    500: '#d7ccfc',
    950: '#000000',
  },
}
SCSS
$custom: #d7ccfc;
$custom-light: #e3dbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ccfc",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 252
  },
  "hsl": {
    "h": 253.75,
    "s": 88.889,
    "l": 89.412
  },
  "oklch": {
    "l": 0.86965,
    "c": 0.06666,
    "h": 295.5
  },
  "luminance": 0.64661
}

Semantic roles & 50–950 ramp

primary
#D7CCFC
secondary
#CFE389
accent
#E600B1
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151517
muted
#848485

Preview Lab

Preview with #D7CCFC

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

Preview Lab → · Contrast checker → · Palette generator →

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