#D28ECB#D28ECB

#D28ECB is a light, moderate purple. Relative luminance 0.374; OKLCH L 73.4% C 0.115 H 330.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D28ECB
RGBrgb(210, 142, 203)
HSLhsl(306, 43%, 69%)
HSVhsv(306, 32%, 82%)
CMYKcmyk(0%, 32.4%, 3.3%, 17.6%)
CIE-LABlab(67.55, 35.35, -21.03)
CIE-LCHlch(67.55, 41.14, 329.26°)
OKLaboklab(73.43% 0.0995 -0.0567)
OKLCHoklch(73.43% 0.115 330.3)
XYZxyz(47.0301, 37.3613, 61.2225)
Luminance0.3736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28ECB #8ED295
analogous
#B78ED2 #D28ECB #D28EA9
triadic
#D28ECB #CBD28E #8ECBD2
tetradic
#D28ECB #D2B78E #8ED295 #8EA9D2
square
#D28ECB #D2B78E #8ED295 #8EA9D2
split-complementary
#D28ECB #A9D28E #8ED2B7
monochromatic
#A4419A #C162B7 #D28ECB #E3BADF #F5E6F3

Accessibility & contrast

On white

2.48
#D28ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#D28ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28ECB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28ECB#FFFFFF#000000##000000
##D28ECB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCD
Deuteranopia (green-blind)
#9CA8C9
Tritanopia (blue-blind)
#D792A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d28ecb;
/* rgb */ color: rgb(210, 142, 203);
/* oklch */ color: oklch(73.4% 0.115 330.3);
Tailwind
colors: {
  custom: {
    50: '#e1b0db',
    500: '#d28ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d28ecb;
$custom-light: #e1b0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ecb",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 306.176,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.11451,
    "h": 330.3
  },
  "luminance": 0.37359
}

Semantic roles & 50–950 ramp

primary
#D28ECB
secondary
#D4E8D6
accent
#B63D2F
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151015
muted
#837F83

Preview Lab

Preview with #D28ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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