#D28DCD#D28DCD

#D28DCD is a light, moderate purple. Relative luminance 0.372; OKLCH L 73.3% C 0.118 H 329.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#D28DCD
RGBrgb(210, 141, 205)
HSLhsl(304, 43%, 69%)
HSVhsv(304, 33%, 82%)
CMYKcmyk(0%, 32.9%, 2.4%, 17.6%)
CIE-LABlab(67.40, 36.26, -22.37)
CIE-LCHlch(67.40, 42.60, 328.33°)
OKLaboklab(73.33% 0.1016 -0.0605)
OKLCHoklch(73.33% 0.118 329.2)
XYZxyz(47.1218, 37.1611, 62.4364)
Luminance0.3716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DCD #8DD292
analogous
#B58DD2 #D28DCD #D28DAB
triadic
#D28DCD #CDD28D #8DCDD2
tetradic
#D28DCD #D2B58D #8DD292 #8DABD2
square
#D28DCD #D2B58D #8DD292 #8DABD2
split-complementary
#D28DCD #ABD28D #8DD2B5
monochromatic
#A4419D #C161BA #D28DCD #E3B9E0 #F5E5F3

Accessibility & contrast

On white

2.49
#D28DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#D28DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DCD
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DCD#FFFFFF#000000##000000
##D28DCD1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d28dcd;
/* rgb */ color: rgb(210, 141, 205);
/* oklch */ color: oklch(73.3% 0.118 329.2);
Tailwind
colors: {
  custom: {
    50: '#e1afdc',
    500: '#d28dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d28dcd;
$custom-light: #e1afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28dcd",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 304.348,
    "s": 43.396,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73335,
    "c": 0.11819,
    "h": 329.2
  },
  "luminance": 0.37159
}

Semantic roles & 50–950 ramp

primary
#D28DCD
secondary
#D3E8D5
accent
#B7392F
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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