#DFC7FF#DFC7FF

#DFC7FF is a very light, moderate violet. Relative luminance 0.638; OKLCH L 86.8% C 0.080 H 304.3°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#DFC7FF
RGBrgb(223, 199, 255)
HSLhsl(266, 100%, 89%)
HSVhsv(266, 22%, 100%)
CMYKcmyk(12.5%, 22%, 0%, 0%)
CIE-LABlab(83.84, 18.82, -24.36)
CIE-LCHlch(83.84, 30.79, 307.69°)
OKLaboklab(86.79% 0.0452 -0.0663)
OKLCHoklch(86.79% 0.08 304.3)
XYZxyz(68.9014, 63.7550, 103.2644)
Luminance0.6375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC7FF #E7FFC7
analogous
#C7CBFF #DFC7FF #FBC7FF
triadic
#DFC7FF #FFDFC7 #C7FFDF
tetradic
#DFC7FF #FFC7CB #E7FFC7 #C7FFFB
square
#DFC7FF #FFC7CB #E7FFC7 #C7FFFB
split-complementary
#DFC7FF #FFFBC7 #CBFFC7
monochromatic
#994DFF #BC8AFF #DFC7FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

1.53
#DFC7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#DFC7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC7FF
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC7FF#FFFFFF#000000##000000
##DFC7FF1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FF
Deuteranopia (green-blind)
#C1D1FD
Tritanopia (blue-blind)
#DACFDA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfc7ff;
/* rgb */ color: rgb(223, 199, 255);
/* oklch */ color: oklch(86.8% 0.080 304.3);
Tailwind
colors: {
  custom: {
    50: '#e9d8ff',
    500: '#dfc7ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfc7ff;
$custom-light: #e9d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc7ff",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.8679,
    "c": 0.08028,
    "h": 304.3
  },
  "luminance": 0.63755
}

Semantic roles & 50–950 ramp

primary
#DFC7FF
secondary
#BCE981
accent
#E60083
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DFC7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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