#DCAFF5#DCAFF5

#DCAFF5 is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.8% C 0.107 H 313.2°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#DCAFF5
RGBrgb(220, 175, 245)
HSLhsl(279, 78%, 82%)
HSVhsv(279, 29%, 96%)
CMYKcmyk(10.2%, 28.6%, 0%, 3.9%)
CIE-LABlab(77.56, 28.77, -28.63)
CIE-LCHlch(77.56, 40.59, 315.14°)
OKLaboklab(81.79% 0.0734 -0.0782)
OKLCHoklch(81.79% 0.107 313.2)
XYZxyz(61.3239, 52.4690, 93.2655)
Luminance0.5247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFF5 #C8F5AF
analogous
#B9AFF5 #DCAFF5 #F5AFEB
triadic
#DCAFF5 #F5DCAF #AFF5DC
tetradic
#DCAFF5 #F5B9AF #C8F5AF #AFEBF5
square
#DCAFF5 #F5B9AF #C8F5AF #AFEBF5
split-complementary
#DCAFF5 #EBF5AF #AFF5B9
monochromatic
#AC42E7 #C479EE #DCAFF5 #F3E4FC #F3E4FC

Accessibility & contrast

On white

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

On black

11.49
#DCAFF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFF5
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFF5#FFFFFF#000000##000000
##DCAFF51.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcaff5;
/* rgb */ color: rgb(220, 175, 245);
/* oklch */ color: oklch(81.8% 0.107 313.2);
Tailwind
colors: {
  custom: {
    50: '#e7c7f8',
    500: '#dcaff5',
    950: '#000000',
  },
}
SCSS
$custom: #dcaff5;
$custom-light: #e7c7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaff5",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 245
  },
  "hsl": {
    "h": 278.571,
    "s": 77.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81785,
    "c": 0.10724,
    "h": 313.2
  },
  "luminance": 0.52468
}

Semantic roles & 50–950 ramp

primary
#DCAFF5
secondary
#96D673
accent
#DA0B55
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFF5

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

Preview Lab → · Contrast checker → · Palette generator →

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