#DCCAF2#DCCAF2

#DCCAF2 is a very light, muted violet. Relative luminance 0.639; OKLCH L 86.6% C 0.058 H 305.6°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DCCAF2
RGBrgb(220, 202, 242)
HSLhsl(267, 61%, 87%)
HSVhsv(267, 17%, 95%)
CMYKcmyk(9.1%, 16.5%, 0%, 5.1%)
CIE-LABlab(83.90, 13.64, -17.39)
CIE-LCHlch(83.90, 22.10, 308.12°)
OKLaboklab(86.64% 0.0336 -0.047)
OKLCHoklch(86.64% 0.058 305.6)
XYZxyz(66.6598, 63.8677, 92.8031)
Luminance0.6387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCAF2 #E0F2CA
analogous
#CACCF2 #DCCAF2 #F0CAF2
triadic
#DCCAF2 #F2DCCA #CAF2DC
tetradic
#DCCAF2 #F2CACC #E0F2CA #CAF2F0
square
#DCCAF2 #F2CACC #E0F2CA #CAF2F0
split-complementary
#DCCAF2 #F2F0CA #CCF2CA
monochromatic
#9B68DA #BC99E6 #DCCAF2 #EFE6F9 #EFE6F9

Accessibility & contrast

On white

1.52
#DCCAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DCCAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCAF2
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCAF2#FFFFFF#000000##000000
##DCCAF21.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3D1F4
Deuteranopia (green-blind)
#C7D1F1
Tritanopia (blue-blind)
#D9CFD7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dccaf2;
/* rgb */ color: rgb(220, 202, 242);
/* oklch */ color: oklch(86.6% 0.058 305.6);
Tailwind
colors: {
  custom: {
    50: '#e7daf6',
    500: '#dccaf2',
    950: '#000000',
  },
}
SCSS
$custom: #dccaf2;
$custom-light: #e7daf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dccaf2",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 242
  },
  "hsl": {
    "h": 267,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.86637,
    "c": 0.05776,
    "h": 305.6
  },
  "luminance": 0.63868
}

Semantic roles & 50–950 ramp

primary
#DCCAF2
secondary
#B3D28F
accent
#C81D7B
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385

Preview Lab

Preview with #DCCAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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