#DCAFF4#DCAFF4

#DCAFF4 is a light, moderate violet. Relative luminance 0.524; OKLCH L 81.7% C 0.106 H 313.6°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#DCAFF4
RGBrgb(220, 175, 244)
HSLhsl(279, 76%, 82%)
HSVhsv(279, 28%, 96%)
CMYKcmyk(9.8%, 28.3%, 0%, 4.3%)
CIE-LABlab(77.52, 28.57, -28.15)
CIE-LCHlch(77.52, 40.11, 315.43°)
OKLaboklab(81.75% 0.0731 -0.0768)
OKLCHoklch(81.75% 0.106 313.6)
XYZxyz(61.1717, 52.4081, 92.4637)
Luminance0.5241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFF4 #C7F4AF
analogous
#BAAFF4 #DCAFF4 #F4AFEA
triadic
#DCAFF4 #F4DCAF #AFF4DC
tetradic
#DCAFF4 #F4BAAF #C7F4AF #AFEAF4
square
#DCAFF4 #F4BAAF #C7F4AF #AFEAF4
split-complementary
#DCAFF4 #EAF4AF #AFF4BA
monochromatic
#AD43E5 #C479ED #DCAFF4 #F3E4FB #F3E4FB

Accessibility & contrast

On white

1.83
#DCAFF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#DCAFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFF4
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFF4#FFFFFF#000000##000000
##DCAFF41.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BDF7
Deuteranopia (green-blind)
#AEC1F2
Tritanopia (blue-blind)
#DAB8C8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcaff4;
/* rgb */ color: rgb(220, 175, 244);
/* oklch */ color: oklch(81.7% 0.106 313.6);
Tailwind
colors: {
  custom: {
    50: '#e7c7f8',
    500: '#dcaff4',
    950: '#000000',
  },
}
SCSS
$custom: #dcaff4;
$custom-light: #e7c7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaff4",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 244
  },
  "hsl": {
    "h": 279.13,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81745,
    "c": 0.10606,
    "h": 313.6
  },
  "luminance": 0.52407
}

Semantic roles & 50–950 ramp

primary
#DCAFF4
secondary
#95D473
accent
#D80D54
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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