#DCAFF0#DCAFF0

#DCAFF0 is a light, moderate purple. Relative luminance 0.522; OKLCH L 81.6% C 0.101 H 315.3°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#DCAFF0
RGBrgb(220, 175, 240)
HSLhsl(282, 68%, 81%)
HSVhsv(282, 27%, 94%)
CMYKcmyk(8.3%, 27.1%, 0%, 5.9%)
CIE-LABlab(77.38, 27.77, -26.21)
CIE-LCHlch(77.38, 38.18, 316.66°)
OKLaboklab(81.59% 0.072 -0.0714)
OKLCHoklch(81.59% 0.101 315.3)
XYZxyz(60.5709, 52.1678, 89.2997)
Luminance0.5217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFF0 #C3F0AF
analogous
#BCAFF0 #DCAFF0 #F0AFE4
triadic
#DCAFF0 #F0DCAF #AFF0DC
tetradic
#DCAFF0 #F0BCAF #C3F0AF #AFE4F0
square
#DCAFF0 #F0BCAF #C3F0AF #AFE4F0
split-complementary
#DCAFF0 #E4F0AF #AFF0BC
monochromatic
#AF48DD #C57BE6 #DCAFF0 #F3E3FA #F4E5FA

Accessibility & contrast

On white

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

On black

11.43
#DCAFF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFF0
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFF0#FFFFFF#000000##000000
##DCAFF01.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BCF3
Deuteranopia (green-blind)
#B0C0EE
Tritanopia (blue-blind)
#DBB7C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dcaff0;
/* rgb */ color: rgb(220, 175, 240);
/* oklch */ color: oklch(81.6% 0.101 315.3);
Tailwind
colors: {
  custom: {
    50: '#e7c7f5',
    500: '#dcaff0',
    950: '#000000',
  },
}
SCSS
$custom: #dcaff0;
$custom-light: #e7c7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaff0",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 240
  },
  "hsl": {
    "h": 281.538,
    "s": 68.421,
    "l": 81.373
  },
  "oklch": {
    "l": 0.81588,
    "c": 0.10138,
    "h": 315.3
  },
  "luminance": 0.52167
}

Semantic roles & 50–950 ramp

primary
#DCAFF0
secondary
#90CE75
accent
#D0154F
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFF0

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

Preview Lab → · Contrast checker → · Palette generator →

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