#D28CD2#D28CD2

#D28CD2 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.4% C 0.125 H 326.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D28CD2
RGBrgb(210, 140, 210)
HSLhsl(300, 44%, 69%)
HSVhsv(300, 33%, 82%)
CMYKcmyk(0%, 33.3%, 0%, 17.6%)
CIE-LABlab(67.36, 37.71, -25.21)
CIE-LCHlch(67.36, 45.36, 326.24°)
OKLaboklab(73.37% 0.1044 -0.0684)
OKLCHoklch(73.37% 0.125 326.8)
XYZxyz(47.5883, 37.1128, 65.6170)
Luminance0.3711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CD2 #8CD28C
analogous
#AF8CD2 #D28CD2 #D28CAF
triadic
#D28CD2 #D2D28C #8CD2D2
tetradic
#D28CD2 #D2AF8C #8CD28C #8CAFD2
square
#D28CD2 #D2AF8C #8CD28C #8CAFD2
split-complementary
#D28CD2 #AFD28C #8CD2AF
monochromatic
#A440A4 #C160C1 #D28CD2 #E3B8E3 #F4E4F4

Accessibility & contrast

On white

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

On black

8.42
#D28CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CD2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CD2#FFFFFF#000000##000000
##D28CD21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879ED5
Deuteranopia (green-blind)
#98A7D0
Tritanopia (blue-blind)
#D692A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d28cd2;
/* rgb */ color: rgb(210, 140, 210);
/* oklch */ color: oklch(73.4% 0.125 326.8);
Tailwind
colors: {
  custom: {
    50: '#e1afe0',
    500: '#d28cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d28cd2;
$custom-light: #e1afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cd2",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73368,
    "c": 0.12481,
    "h": 326.8
  },
  "luminance": 0.37111
}

Semantic roles & 50–950 ramp

primary
#D28CD2
secondary
#D2E7D2
accent
#B72F2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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