#D28ECC#D28ECC

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

Color values

HEX#D28ECC
RGBrgb(210, 142, 204)
HSLhsl(305, 43%, 69%)
HSVhsv(305, 32%, 82%)
CMYKcmyk(0%, 32.4%, 2.9%, 17.6%)
CIE-LABlab(67.58, 35.54, -21.53)
CIE-LCHlch(67.58, 41.55, 328.79°)
OKLaboklab(73.46% 0.0998 -0.0581)
OKLCHoklch(73.46% 0.115 329.8)
XYZxyz(47.1496, 37.4092, 61.8521)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28ECC #8ED294
analogous
#B68ED2 #D28ECC #D28EAA
triadic
#D28ECC #CCD28E #8ECCD2
tetradic
#D28ECC #D2B68E #8ED294 #8EAAD2
square
#D28ECC #D2B68E #8ED294 #8EAAD2
split-complementary
#D28ECC #AAD28E #8ED2B6
monochromatic
#A4419B #C162B8 #D28ECC #E3BAE0 #F5E6F4

Accessibility & contrast

On white

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

On black

8.48
#D28ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28ECC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28ECC#FFFFFF#000000##000000
##D28ECC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCE
Deuteranopia (green-blind)
#9CA8CA
Tritanopia (blue-blind)
#D793A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d28ecc;
/* rgb */ color: rgb(210, 142, 204);
/* oklch */ color: oklch(73.5% 0.115 329.8);
Tailwind
colors: {
  custom: {
    50: '#e1b0db',
    500: '#d28ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d28ecc;
$custom-light: #e1b0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ecc",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 305.294,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73464,
    "c": 0.11545,
    "h": 329.8
  },
  "luminance": 0.37407
}

Semantic roles & 50–950 ramp

primary
#D28ECC
secondary
#D4E8D6
accent
#B63B2F
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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