#D28CDC#D28CDC

#D28CDC is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.8% C 0.135 H 322.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D28CDC
RGBrgb(210, 140, 220)
HSLhsl(293, 53%, 71%)
HSVhsv(293, 36%, 86%)
CMYKcmyk(4.5%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.74, 39.60, -30.16)
CIE-LCHlch(67.74, 49.78, 322.70°)
OKLaboklab(73.78% 0.1068 -0.0824)
OKLCHoklch(73.78% 0.135 322.3)
XYZxyz(48.8732, 37.6268, 72.3845)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CDC #96DC8C
analogous
#AA8CDC #D28CDC #DC8CBE
triadic
#D28CDC #DCD28C #8CDCD2
tetradic
#D28CDC #DCAA8C #96DC8C #8CBEDC
square
#D28CDC #DCAA8C #96DC8C #8CBEDC
split-complementary
#D28CDC #BEDC8C #8CDCAA
monochromatic
#A637B6 #C05DCE #D28CDC #E4BBEA #F6E8F8

Accessibility & contrast

On white

2.46
#D28CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#D28CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CDC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CDC#FFFFFF#000000##000000
##D28CDC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#D495AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d28cdc;
/* rgb */ color: rgb(210, 140, 220);
/* oklch */ color: oklch(73.8% 0.135 322.3);
Tailwind
colors: {
  custom: {
    50: '#e1afe7',
    500: '#d28cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d28cdc;
$custom-light: #e1afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cdc",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 292.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73784,
    "c": 0.13495,
    "h": 322.3
  },
  "luminance": 0.37625
}

Semantic roles & 50–950 ramp

primary
#D28CDC
secondary
#DAEDD7
accent
#C12538
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D28CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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