#D28ECE#D28ECE

#D28ECE is a light, moderate purple. Relative luminance 0.375; OKLCH L 73.5% C 0.117 H 328.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D28ECE
RGBrgb(210, 142, 206)
HSLhsl(304, 43%, 69%)
HSVhsv(304, 32%, 82%)
CMYKcmyk(0%, 32.4%, 1.9%, 17.6%)
CIE-LABlab(67.65, 35.90, -22.53)
CIE-LCHlch(67.65, 42.39, 327.89°)
OKLaboklab(73.54% 0.1003 -0.0609)
OKLCHoklch(73.54% 0.117 328.7)
XYZxyz(47.3911, 37.5057, 63.1235)
Luminance0.3750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28ECE #8ED292
analogous
#B48ED2 #D28ECE #D28EAC
triadic
#D28ECE #CED28E #8ECED2
tetradic
#D28ECE #D2B48E #8ED292 #8EACD2
square
#D28ECE #D2B48E #8ED292 #8EACD2
split-complementary
#D28ECE #ACD28E #8ED2B4
monochromatic
#A4419E #C162BB #D28ECE #E3BAE1 #F5E6F4

Accessibility & contrast

On white

2.47
#D28ECE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#D28ECE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28ECE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28ECE#FFFFFF#000000##000000
##D28ECE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FD0
Deuteranopia (green-blind)
#9BA8CC
Tritanopia (blue-blind)
#D793A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d28ece;
/* rgb */ color: rgb(210, 142, 206);
/* oklch */ color: oklch(73.5% 0.117 328.7);
Tailwind
colors: {
  custom: {
    50: '#e1b0dd',
    500: '#d28ece',
    950: '#000000',
  },
}
SCSS
$custom: #d28ece;
$custom-light: #e1b0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ece",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 303.529,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73542,
    "c": 0.11737,
    "h": 328.7
  },
  "luminance": 0.37504
}

Semantic roles & 50–950 ramp

primary
#D28ECE
secondary
#D4E8D5
accent
#B6372F
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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