#DCC7FA#DCC7FA

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

Color values

HEX#DCC7FA
RGBrgb(220, 199, 250)
HSLhsl(265, 84%, 88%)
HSVhsv(265, 20%, 98%)
CMYKcmyk(12%, 20.4%, 0%, 2%)
CIE-LABlab(83.42, 16.86, -22.36)
CIE-LCHlch(83.42, 28.00, 307.02°)
OKLaboklab(86.36% 0.0405 -0.0608)
OKLCHoklch(86.36% 0.073 303.7)
XYZxyz(67.1906, 62.9647, 99.0376)
Luminance0.6297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC7FA #E5FAC7
analogous
#C7CBFA #DCC7FA #F6C7FA
triadic
#DCC7FA #FADCC7 #C7FADC
tetradic
#DCC7FA #FAC7CB #E5FAC7 #C7FAF6
square
#DCC7FA #FAC7CB #E5FAC7 #C7FAF6
split-complementary
#DCC7FA #FAF6C7 #CBFAC7
monochromatic
#9657F0 #B98FF5 #DCC7FA #EDE3FC #EDE3FC

Accessibility & contrast

On white

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

On black

13.59
#DCC7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC7FA
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC7FA#FFFFFF#000000##000000
##DCC7FA1.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BECFFC
Deuteranopia (green-blind)
#C2D0F8
Tritanopia (blue-blind)
#D8CED8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcc7fa;
/* rgb */ color: rgb(220, 199, 250);
/* oklch */ color: oklch(86.4% 0.073 303.7);
Tailwind
colors: {
  custom: {
    50: '#e7d8fc',
    500: '#dcc7fa',
    950: '#000000',
  },
}
SCSS
$custom: #dcc7fa;
$custom-light: #e7d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc7fa",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 250
  },
  "hsl": {
    "h": 264.706,
    "s": 83.607,
    "l": 88.039
  },
  "oklch": {
    "l": 0.86355,
    "c": 0.07299,
    "h": 303.7
  },
  "luminance": 0.62965
}

Semantic roles & 50–950 ramp

primary
#DCC7FA
secondary
#BADF86
accent
#E00586
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DCC7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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