#DCB2EC#DCB2EC

#DCB2EC is a light, moderate purple. Relative luminance 0.531; OKLCH L 82.0% C 0.092 H 316.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#DCB2EC
RGBrgb(220, 178, 236)
HSLhsl(283, 60%, 81%)
HSVhsv(283, 25%, 93%)
CMYKcmyk(6.8%, 24.6%, 0%, 7.5%)
CIE-LABlab(77.94, 25.36, -23.19)
CIE-LCHlch(77.94, 34.36, 317.55°)
OKLaboklab(81.97% 0.0665 -0.0629)
OKLCHoklch(81.97% 0.092 316.6)
XYZxyz(60.5736, 53.1136, 86.4016)
Luminance0.5311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB2EC #C2ECB2
analogous
#BFB2EC #DCB2EC #ECB2DF
triadic
#DCB2EC #ECDCB2 #B2ECDC
tetradic
#DCB2EC #ECBFB2 #C2ECB2 #B2DFEC
square
#DCB2EC #ECBFB2 #C2ECB2 #B2DFEC
split-complementary
#DCB2EC #DFECB2 #B2ECBF
monochromatic
#AF50D4 #C681E0 #DCB2EC #F2E3F8 #F4E6F9

Accessibility & contrast

On white

1.81
#DCB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#DCB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB2EC
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB2EC#FFFFFF#000000##000000
##DCB2EC1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBEEE
Deuteranopia (green-blind)
#B4C2EA
Tritanopia (blue-blind)
#DCB8C6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcb2ec;
/* rgb */ color: rgb(220, 178, 236);
/* oklch */ color: oklch(82.0% 0.092 316.6);
Tailwind
colors: {
  custom: {
    50: '#e7c9f2',
    500: '#dcb2ec',
    950: '#000000',
  },
}
SCSS
$custom: #dcb2ec;
$custom-light: #e7c9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb2ec",
  "rgb": {
    "r": 220,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 283.448,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.09154,
    "h": 316.6
  },
  "luminance": 0.53113
}

Semantic roles & 50–950 ramp

primary
#DCB2EC
secondary
#8FC979
accent
#C81D4C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DCB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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