#DFC7FB#DFC7FB

#DFC7FB is a very light, moderate violet. Relative luminance 0.635; OKLCH L 86.6% C 0.075 H 305.8°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DFC7FB
RGBrgb(223, 199, 251)
HSLhsl(268, 87%, 88%)
HSVhsv(268, 21%, 98%)
CMYKcmyk(11.2%, 20.7%, 0%, 1.6%)
CIE-LABlab(83.70, 18.01, -22.44)
CIE-LCHlch(83.70, 28.77, 308.74°)
OKLaboklab(86.64% 0.044 -0.0609)
OKLCHoklch(86.64% 0.075 305.8)
XYZxyz(68.2642, 63.5001, 99.9085)
Luminance0.6350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC7FB #E3FBC7
analogous
#C7C9FB #DFC7FB #F9C7FB
triadic
#DFC7FB #FBDFC7 #C7FBDF
tetradic
#DFC7FB #FBC7C9 #E3FBC7 #C7FBF9
square
#DFC7FB #FBC7C9 #E3FBC7 #C7FBF9
split-complementary
#DFC7FB #FBF9C7 #C9FBC7
monochromatic
#9E55F3 #BE8EF7 #DFC7FB #EFE2FD #EFE2FD

Accessibility & contrast

On white

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

On black

13.70
#DFC7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC7FB
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC7FB#FFFFFF#000000##000000
##DFC7FB1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BED0FD
Deuteranopia (green-blind)
#C3D1F9
Tritanopia (blue-blind)
#DBCED9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfc7fb;
/* rgb */ color: rgb(223, 199, 251);
/* oklch */ color: oklch(86.6% 0.075 305.8);
Tailwind
colors: {
  custom: {
    50: '#e9d8fc',
    500: '#dfc7fb',
    950: '#000000',
  },
}
SCSS
$custom: #dfc7fb;
$custom-light: #e9d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc7fb",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 251
  },
  "hsl": {
    "h": 267.692,
    "s": 86.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.86643,
    "c": 0.07517,
    "h": 305.8
  },
  "luminance": 0.635
}

Semantic roles & 50–950 ramp

primary
#DFC7FB
secondary
#B7E185
accent
#E3027B
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DFC7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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