#DCAFF8#DCAFF8

#DCAFF8 is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.9% C 0.111 H 312.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#DCAFF8
RGBrgb(220, 175, 248)
HSLhsl(277, 84%, 83%)
HSVhsv(277, 29%, 97%)
CMYKcmyk(11.3%, 29.4%, 0%, 2.7%)
CIE-LABlab(77.67, 29.38, -30.08)
CIE-LCHlch(77.67, 42.05, 314.33°)
OKLaboklab(81.91% 0.0742 -0.0823)
OKLCHoklch(81.91% 0.111 312)
XYZxyz(61.7856, 52.6537, 95.6971)
Luminance0.5265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFF8 #CBF8AF
analogous
#B7AFF8 #DCAFF8 #F8AFF0
triadic
#DCAFF8 #F8DCAF #AFF8DC
tetradic
#DCAFF8 #F8B7AF #CBF8AF #AFF0F8
square
#DCAFF8 #F8B7AF #CBF8AF #AFF0F8
split-complementary
#DCAFF8 #F0F8AF #AFF8B7
monochromatic
#AB3EEE #C377F3 #DCAFF8 #F3E3FD #F3E3FD

Accessibility & contrast

On white

1.82
#DCAFF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#DCAFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFF8
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFF8#FFFFFF#000000##000000
##DCAFF81.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFB
Deuteranopia (green-blind)
#ADC1F6
Tritanopia (blue-blind)
#DAB8C9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcaff8;
/* rgb */ color: rgb(220, 175, 248);
/* oklch */ color: oklch(81.9% 0.111 312.0);
Tailwind
colors: {
  custom: {
    50: '#e7c7fa',
    500: '#dcaff8',
    950: '#000000',
  },
}
SCSS
$custom: #dcaff8;
$custom-light: #e7c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaff8",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 276.986,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81905,
    "c": 0.1108,
    "h": 312
  },
  "luminance": 0.52653
}

Semantic roles & 50–950 ramp

primary
#DCAFF8
secondary
#99DA71
accent
#E00559
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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