#DCC7FC#DCC7FC

#DCC7FC is a very light, moderate violet. Relative luminance 0.631; OKLCH L 86.4% C 0.076 H 302.9°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DCC7FC
RGBrgb(220, 199, 252)
HSLhsl(264, 90%, 88%)
HSVhsv(264, 21%, 99%)
CMYKcmyk(12.7%, 21%, 0%, 1.2%)
CIE-LABlab(83.49, 17.27, -23.32)
CIE-LCHlch(83.49, 29.02, 306.52°)
OKLaboklab(86.43% 0.0411 -0.0634)
OKLCHoklch(86.43% 0.076 302.9)
XYZxyz(67.5059, 63.0908, 100.6980)
Luminance0.6309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC7FC #E7FCC7
analogous
#C7CCFC #DCC7FC #F7C7FC
triadic
#DCC7FC #FCDCC7 #C7FCDC
tetradic
#DCC7FC #FCC7CC #E7FCC7 #C7FCF7
square
#DCC7FC #FCC7CC #E7FCC7 #C7FCF7
split-complementary
#DCC7FC #FCF7C7 #CCFCC7
monochromatic
#9353F6 #B88DF9 #DCC7FC #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

13.62
#DCC7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC7FC
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC7FC#FFFFFF#000000##000000
##DCC7FC1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FE
Deuteranopia (green-blind)
#C1D0FA
Tritanopia (blue-blind)
#D7CED9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcc7fc;
/* rgb */ color: rgb(220, 199, 252);
/* oklch */ color: oklch(86.4% 0.076 302.9);
Tailwind
colors: {
  custom: {
    50: '#e7d8fd',
    500: '#dcc7fc',
    950: '#000000',
  },
}
SCSS
$custom: #dcc7fc;
$custom-light: #e7d8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc7fc",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 252
  },
  "hsl": {
    "h": 263.774,
    "s": 89.831,
    "l": 88.431
  },
  "oklch": {
    "l": 0.86428,
    "c": 0.07557,
    "h": 302.9
  },
  "luminance": 0.63091
}

Semantic roles & 50–950 ramp

primary
#DCC7FC
secondary
#BDE384
accent
#E6008B
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DCC7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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