#D28CD4#D28CD4

#D28CD4 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.5% C 0.127 H 325.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D28CD4
RGBrgb(210, 140, 212)
HSLhsl(298, 46%, 69%)
HSVhsv(298, 34%, 83%)
CMYKcmyk(0.9%, 34%, 0%, 16.9%)
CIE-LABlab(67.44, 38.09, -26.20)
CIE-LCHlch(67.44, 46.23, 325.47°)
OKLaboklab(73.45% 0.1049 -0.0712)
OKLCHoklch(73.45% 0.127 325.8)
XYZxyz(47.8390, 37.2131, 66.9375)
Luminance0.3721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CD4 #8ED48C
analogous
#AE8CD4 #D28CD4 #D48CB2
triadic
#D28CD4 #D4D28C #8CD4D2
tetradic
#D28CD4 #D4AE8C #8ED48C #8CB2D4
square
#D28CD4 #D4AE8C #8ED48C #8CB2D4
split-complementary
#D28CD4 #B2D48C #8CD4AE
monochromatic
#A43EA7 #C15FC3 #D28CD4 #E3B9E5 #F5E5F5

Accessibility & contrast

On white

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

On black

8.44
#D28CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CD4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CD4#FFFFFF#000000##000000
##D28CD41.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869FD7
Deuteranopia (green-blind)
#98A7D2
Tritanopia (blue-blind)
#D693A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d28cd4;
/* rgb */ color: rgb(210, 140, 212);
/* oklch */ color: oklch(73.5% 0.127 325.8);
Tailwind
colors: {
  custom: {
    50: '#e1afe1',
    500: '#d28cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d28cd4;
$custom-light: #e1afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cd4",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 298.333,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.12679,
    "h": 325.8
  },
  "luminance": 0.37211
}

Semantic roles & 50–950 ramp

primary
#D28CD4
secondary
#D4E8D3
accent
#B92D31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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