#D28CD5#D28CD5

#D28CD5 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.5% C 0.128 H 325.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#D28CD5
RGBrgb(210, 140, 213)
HSLhsl(298, 46%, 69%)
HSVhsv(298, 34%, 84%)
CMYKcmyk(1.4%, 34.3%, 0%, 16.5%)
CIE-LABlab(67.47, 38.27, -26.70)
CIE-LCHlch(67.47, 46.67, 325.10°)
OKLaboklab(73.49% 0.1052 -0.0726)
OKLCHoklch(73.49% 0.128 325.4)
XYZxyz(47.9655, 37.2637, 67.6039)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CD5 #8FD58C
analogous
#AE8CD5 #D28CD5 #D58CB4
triadic
#D28CD5 #D5D28C #8CD5D2
tetradic
#D28CD5 #D5AE8C #8FD58C #8CB4D5
square
#D28CD5 #D5AE8C #8FD58C #8CB4D5
split-complementary
#D28CD5 #B4D58C #8CD5AE
monochromatic
#A53EA9 #C05FC5 #D28CD5 #E4B9E5 #F5E6F6

Accessibility & contrast

On white

2.48
#D28CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#D28CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CD5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CD5#FFFFFF#000000##000000
##D28CD51.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#869FD8
Deuteranopia (green-blind)
#97A7D3
Tritanopia (blue-blind)
#D693A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d28cd5;
/* rgb */ color: rgb(210, 140, 213);
/* oklch */ color: oklch(73.5% 0.128 325.4);
Tailwind
colors: {
  custom: {
    50: '#e1afe2',
    500: '#d28cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d28cd5;
$custom-light: #e1afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cd5",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 297.534,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73491,
    "c": 0.1278,
    "h": 325.4
  },
  "luminance": 0.37262
}

Semantic roles & 50–950 ramp

primary
#D28CD5
secondary
#D5E9D4
accent
#BA2C32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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