#D28CDA#D28CDA

#D28CDA is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.7% C 0.133 H 323.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D28CDA
RGBrgb(210, 140, 218)
HSLhsl(294, 51%, 70%)
HSVhsv(294, 36%, 85%)
CMYKcmyk(3.7%, 35.8%, 0%, 14.5%)
CIE-LABlab(67.67, 39.22, -29.18)
CIE-LCHlch(67.67, 48.88, 323.35°)
OKLaboklab(73.7% 0.1064 -0.0796)
OKLCHoklch(73.7% 0.133 323.2)
XYZxyz(48.6099, 37.5215, 70.9978)
Luminance0.3752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CDA #94DA8C
analogous
#AB8CDA #D28CDA #DA8CBB
triadic
#D28CDA #DAD28C #8CDAD2
tetradic
#D28CDA #DAAB8C #94DA8C #8CBBDA
square
#D28CDA #DAAB8C #94DA8C #8CBBDA
split-complementary
#D28CDA #BBDA8C #8CDAAB
monochromatic
#A639B2 #C05ECB #D28CDA #E4BAE9 #F6E8F8

Accessibility & contrast

On white

2.47
#D28CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#D28CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CDA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CDA#FFFFFF#000000##000000
##D28CDA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DD
Deuteranopia (green-blind)
#95A8D7
Tritanopia (blue-blind)
#D594A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d28cda;
/* rgb */ color: rgb(210, 140, 218);
/* oklch */ color: oklch(73.7% 0.133 323.2);
Tailwind
colors: {
  custom: {
    50: '#e1afe5',
    500: '#d28cda',
    950: '#000000',
  },
}
SCSS
$custom: #d28cda;
$custom-light: #e1afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cda",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 293.846,
    "s": 51.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73699,
    "c": 0.13288,
    "h": 323.2
  },
  "luminance": 0.3752
}

Semantic roles & 50–950 ramp

primary
#D28CDA
secondary
#D8ECD6
accent
#BF2736
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D28CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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