#DCAFEB#DCAFEB

#DCAFEB is a light, moderate purple. Relative luminance 0.519; OKLCH L 81.4% C 0.096 H 317.6°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#DCAFEB
RGBrgb(220, 175, 235)
HSLhsl(285, 60%, 80%)
HSVhsv(285, 26%, 92%)
CMYKcmyk(6.4%, 25.5%, 0%, 7.8%)
CIE-LABlab(77.21, 26.78, -23.77)
CIE-LCHlch(77.21, 35.81, 318.41°)
OKLaboklab(81.4% 0.0706 -0.0645)
OKLCHoklch(81.4% 0.096 317.6)
XYZxyz(59.8384, 51.8748, 85.4418)
Luminance0.5187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFEB #BEEBAF
analogous
#BEAFEB #DCAFEB #EBAFDC
triadic
#DCAFEB #EBDCAF #AFEBDC
tetradic
#DCAFEB #EBBEAF #BEEBAF #AFDCEB
square
#DCAFEB #EBBEAF #BEEBAF #AFDCEB
split-complementary
#DCAFEB #DCEBAF #AFEBBE
monochromatic
#B14DD3 #C77EDF #DCAFEB #F1E0F7 #F4E7F9

Accessibility & contrast

On white

1.85
#DCAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#DCAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFEB
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFEB#FFFFFF#000000##000000
##DCAFEB1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCED
Deuteranopia (green-blind)
#B2C0E9
Tritanopia (blue-blind)
#DCB6C4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dcafeb;
/* rgb */ color: rgb(220, 175, 235);
/* oklch */ color: oklch(81.4% 0.096 317.6);
Tailwind
colors: {
  custom: {
    50: '#e7c7f1',
    500: '#dcafeb',
    950: '#000000',
  },
}
SCSS
$custom: #dcafeb;
$custom-light: #e7c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcafeb",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 285,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81396,
    "c": 0.09564,
    "h": 317.6
  },
  "luminance": 0.51874
}

Semantic roles & 50–950 ramp

primary
#DCAFEB
secondary
#8BC777
accent
#C81E48
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #DCAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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