#DCC7FB#DCC7FB

#DCC7FB is a very light, moderate violet. Relative luminance 0.630; OKLCH L 86.4% C 0.074 H 303.3°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DCC7FB
RGBrgb(220, 199, 251)
HSLhsl(264, 87%, 88%)
HSVhsv(264, 21%, 98%)
CMYKcmyk(12.4%, 20.7%, 0%, 1.6%)
CIE-LABlab(83.46, 17.06, -22.84)
CIE-LCHlch(83.46, 28.51, 306.76°)
OKLaboklab(86.39% 0.0408 -0.0621)
OKLCHoklch(86.39% 0.074 303.3)
XYZxyz(67.3479, 63.0276, 99.8656)
Luminance0.6303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC7FB #E6FBC7
analogous
#C7CCFB #DCC7FB #F6C7FB
triadic
#DCC7FB #FBDCC7 #C7FBDC
tetradic
#DCC7FB #FBC7CC #E6FBC7 #C7FBF6
square
#DCC7FB #FBC7CC #E6FBC7 #C7FBF6
split-complementary
#DCC7FB #FBF6C7 #CCFBC7
monochromatic
#9555F3 #B88EF7 #DCC7FB #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

13.61
#DCC7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC7FB
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC7FB#FFFFFF#000000##000000
##DCC7FB1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc7fb;
/* rgb */ color: rgb(220, 199, 251);
/* oklch */ color: oklch(86.4% 0.074 303.3);
Tailwind
colors: {
  custom: {
    50: '#e7d8fc',
    500: '#dcc7fb',
    950: '#000000',
  },
}
SCSS
$custom: #dcc7fb;
$custom-light: #e7d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc7fb",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 251
  },
  "hsl": {
    "h": 264.231,
    "s": 86.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.86391,
    "c": 0.07428,
    "h": 303.3
  },
  "luminance": 0.63028
}

Semantic roles & 50–950 ramp

primary
#DCC7FB
secondary
#BCE185
accent
#E30288
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DCC7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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