#DCB2EA#DCB2EA

#DCB2EA is a light, moderate purple. Relative luminance 0.530; OKLCH L 81.9% C 0.089 H 317.6°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#DCB2EA
RGBrgb(220, 178, 234)
HSLhsl(285, 57%, 81%)
HSVhsv(285, 24%, 92%)
CMYKcmyk(6%, 23.9%, 0%, 8.2%)
CIE-LABlab(77.87, 24.97, -22.22)
CIE-LCHlch(77.87, 33.42, 318.34°)
OKLaboklab(81.9% 0.0659 -0.0602)
OKLCHoklch(81.9% 0.089 317.6)
XYZxyz(60.2847, 52.9980, 84.8798)
Luminance0.5300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB2EA #C0EAB2
analogous
#C0B2EA #DCB2EA #EAB2DC
triadic
#DCB2EA #EADCB2 #B2EADC
tetradic
#DCB2EA #EAC0B2 #C0EAB2 #B2DCEA
square
#DCB2EA #EAC0B2 #C0EAB2 #B2DCEA
split-complementary
#DCB2EA #DCEAB2 #B2EAC0
monochromatic
#B052D0 #C682DD #DCB2EA #F2E2F7 #F4E7F8

Accessibility & contrast

On white

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

On black

11.60
#DCB2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB2EA
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB2EA#FFFFFF#000000##000000
##DCB2EA1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBEEC
Deuteranopia (green-blind)
#B4C2E8
Tritanopia (blue-blind)
#DCB8C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcb2ea;
/* rgb */ color: rgb(220, 178, 234);
/* oklch */ color: oklch(81.9% 0.089 317.6);
Tailwind
colors: {
  custom: {
    50: '#e7c9f0',
    500: '#dcb2ea',
    950: '#000000',
  },
}
SCSS
$custom: #dcb2ea;
$custom-light: #e7c9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb2ea",
  "rgb": {
    "r": 220,
    "g": 178,
    "b": 234
  },
  "hsl": {
    "h": 285,
    "s": 57.143,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.08925,
    "h": 317.6
  },
  "luminance": 0.52997
}

Semantic roles & 50–950 ramp

primary
#DCB2EA
secondary
#8DC67A
accent
#C5214A
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #DCB2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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