#D28ECD#D28ECD

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

Color values

HEX#D28ECD
RGBrgb(210, 142, 205)
HSLhsl(304, 43%, 69%)
HSVhsv(304, 32%, 82%)
CMYKcmyk(0%, 32.4%, 2.4%, 17.6%)
CIE-LABlab(67.62, 35.72, -22.03)
CIE-LCHlch(67.62, 41.97, 328.33°)
OKLaboklab(73.5% 0.1 -0.0595)
OKLCHoklch(73.5% 0.116 329.2)
XYZxyz(47.2700, 37.4573, 62.4858)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28ECD #8ED293
analogous
#B58ED2 #D28ECD #D28EAB
triadic
#D28ECD #CDD28E #8ECDD2
tetradic
#D28ECD #D2B58E #8ED293 #8EABD2
square
#D28ECD #D2B58E #8ED293 #8EABD2
split-complementary
#D28ECD #ABD28E #8ED2B5
monochromatic
#A4419D #C162BA #D28ECD #E3BAE0 #F5E6F4

Accessibility & contrast

On white

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

On black

8.49
#D28ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28ECD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28ECD#FFFFFF#000000##000000
##D28ECD1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d28ecd;
/* rgb */ color: rgb(210, 142, 205);
/* oklch */ color: oklch(73.5% 0.116 329.2);
Tailwind
colors: {
  custom: {
    50: '#e1b0dc',
    500: '#d28ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d28ecd;
$custom-light: #e1b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ecd",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 304.412,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73503,
    "c": 0.1164,
    "h": 329.2
  },
  "luminance": 0.37455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D28ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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