#DFC8FF#DFC8FF

#DFC8FF is a very light, moderate violet. Relative luminance 0.642; OKLCH L 87.0% C 0.079 H 303.9°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DFC8FF
RGBrgb(223, 200, 255)
HSLhsl(265, 100%, 89%)
HSVhsv(265, 22%, 100%)
CMYKcmyk(12.5%, 21.6%, 0%, 0%)
CIE-LABlab(84.08, 18.29, -24.00)
CIE-LCHlch(84.08, 30.17, 307.31°)
OKLaboklab(86.98% 0.0438 -0.0653)
OKLCHoklch(86.98% 0.079 303.9)
XYZxyz(69.1322, 64.2166, 103.3414)
Luminance0.6422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC8FF #E8FFC8
analogous
#C8CDFF #DFC8FF #FBC8FF
triadic
#DFC8FF #FFDFC8 #C8FFDF
tetradic
#DFC8FF #FFC8CD #E8FFC8 #C8FFFB
square
#DFC8FF #FFC8CD #E8FFC8 #C8FFFB
split-complementary
#DFC8FF #FFFBC8 #CDFFC8
monochromatic
#984EFF #BB8BFF #DFC8FF #EDE0FF #EDE0FF

Accessibility & contrast

On white

1.52
#DFC8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#DFC8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC8FF
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC8FF#FFFFFF#000000##000000
##DFC8FF1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BED1FF
Deuteranopia (green-blind)
#C2D2FD
Tritanopia (blue-blind)
#DAD0DB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfc8ff;
/* rgb */ color: rgb(223, 200, 255);
/* oklch */ color: oklch(87.0% 0.079 303.9);
Tailwind
colors: {
  custom: {
    50: '#e9d8ff',
    500: '#dfc8ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfc8ff;
$custom-light: #e9d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc8ff",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 255
  },
  "hsl": {
    "h": 265.091,
    "s": 100,
    "l": 89.216
  },
  "oklch": {
    "l": 0.86976,
    "c": 0.07863,
    "h": 303.9
  },
  "luminance": 0.64217
}

Semantic roles & 50–950 ramp

primary
#DFC8FF
secondary
#BEE982
accent
#E60086
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DFC8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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