#DCAFEF#DCAFEF

#DCAFEF is a light, moderate purple. Relative luminance 0.521; OKLCH L 81.5% C 0.100 H 315.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#DCAFEF
RGBrgb(220, 175, 239)
HSLhsl(282, 67%, 81%)
HSVhsv(282, 27%, 94%)
CMYKcmyk(7.9%, 26.8%, 0%, 6.3%)
CIE-LABlab(77.35, 27.57, -25.72)
CIE-LCHlch(77.35, 37.71, 316.99°)
OKLaboklab(81.55% 0.0717 -0.07)
OKLCHoklch(81.55% 0.1 315.7)
XYZxyz(60.4228, 52.1086, 88.5195)
Luminance0.5211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFEF #C2EFAF
analogous
#BCAFEF #DCAFEF #EFAFE2
triadic
#DCAFEF #EFDCAF #AFEFDC
tetradic
#DCAFEF #EFBCAF #C2EFAF #AFE2EF
square
#DCAFEF #EFBCAF #C2EFAF #AFE2EF
split-complementary
#DCAFEF #E2EFAF #AFEFBC
monochromatic
#AF49DB #C67CE5 #DCAFEF #F2E2F9 #F4E5FA

Accessibility & contrast

On white

1.84
#DCAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#DCAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFEF
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFEF#FFFFFF#000000##000000
##DCAFEF1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BCF2
Deuteranopia (green-blind)
#B0C0ED
Tritanopia (blue-blind)
#DBB6C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dcafef;
/* rgb */ color: rgb(220, 175, 239);
/* oklch */ color: oklch(81.5% 0.100 315.7);
Tailwind
colors: {
  custom: {
    50: '#e7c7f4',
    500: '#dcafef',
    950: '#000000',
  },
}
SCSS
$custom: #dcafef;
$custom-light: #e7c7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcafef",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 282.188,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.8155,
    "c": 0.10023,
    "h": 315.7
  },
  "luminance": 0.52108
}

Semantic roles & 50–950 ramp

primary
#DCAFEF
secondary
#8FCD75
accent
#CF174D
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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