#DFCAFB#DFCAFB

#DFCAFB is a very light, moderate violet. Relative luminance 0.649; OKLCH L 87.2% C 0.070 H 304.5°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DFCAFB
RGBrgb(223, 202, 251)
HSLhsl(266, 86%, 89%)
HSVhsv(266, 20%, 98%)
CMYKcmyk(11.2%, 19.5%, 0%, 1.6%)
CIE-LABlab(84.43, 16.40, -21.34)
CIE-LCHlch(84.43, 26.92, 307.55°)
OKLaboklab(87.2% 0.0397 -0.0579)
OKLCHoklch(87.2% 0.07 304.5)
XYZxyz(68.9613, 64.8942, 100.1409)
Luminance0.6489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCAFB #E6FBCA
analogous
#CACEFB #DFCAFB #F8CAFB
triadic
#DFCAFB #FBDFCA #CAFBDF
tetradic
#DFCAFB #FBCACE #E6FBCA #CAFBF8
square
#DFCAFB #FBCACE #E6FBCA #CAFBF8
split-complementary
#DFCAFB #FBF8CA #CEFBCA
monochromatic
#9A58F2 #BD91F7 #DFCAFB #EEE3FD #EEE3FD

Accessibility & contrast

On white

1.50
#DFCAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DFCAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCAFB
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCAFB#FFFFFF#000000##000000
##DFCAFB1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2D2FD
Deuteranopia (green-blind)
#C5D3F9
Tritanopia (blue-blind)
#DBD1DB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfcafb;
/* rgb */ color: rgb(223, 202, 251);
/* oklch */ color: oklch(87.2% 0.070 304.5);
Tailwind
colors: {
  custom: {
    50: '#e9dafc',
    500: '#dfcafb',
    950: '#000000',
  },
}
SCSS
$custom: #dfcafb;
$custom-light: #e9dafc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcafb",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 251
  },
  "hsl": {
    "h": 265.714,
    "s": 85.965,
    "l": 88.824
  },
  "oklch": {
    "l": 0.87204,
    "c": 0.07023,
    "h": 304.5
  },
  "luminance": 0.64894
}

Semantic roles & 50–950 ramp

primary
#DFCAFB
secondary
#BBE188
accent
#E20383
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DFCAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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