#D28CCD#D28CCD

#D28CCD is a light, moderate purple. Relative luminance 0.369; OKLCH L 73.2% C 0.120 H 329.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D28CCD
RGBrgb(210, 140, 205)
HSLhsl(304, 44%, 69%)
HSVhsv(304, 33%, 82%)
CMYKcmyk(0%, 33.3%, 2.4%, 17.6%)
CIE-LABlab(67.18, 36.79, -22.71)
CIE-LCHlch(67.18, 43.24, 328.32°)
OKLaboklab(73.17% 0.1031 -0.0614)
OKLCHoklch(73.17% 0.12 329.2)
XYZxyz(46.9751, 36.8675, 62.3875)
Luminance0.3687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CCD #8CD291
analogous
#B48CD2 #D28CCD #D28CAA
triadic
#D28CCD #CDD28C #8CCDD2
tetradic
#D28CCD #D2B48C #8CD291 #8CAAD2
square
#D28CCD #D2B48C #8CD291 #8CAAD2
split-complementary
#D28CCD #AAD28C #8CD2B4
monochromatic
#A4409C #C160BA #D28CCD #E3B8E0 #F4E4F3

Accessibility & contrast

On white

2.51
#D28CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D28CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CCD
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CCD#FFFFFF#000000##000000
##D28CCD1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#9AA7CB
Tritanopia (blue-blind)
#D791A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d28ccd;
/* rgb */ color: rgb(210, 140, 205);
/* oklch */ color: oklch(73.2% 0.120 329.2);
Tailwind
colors: {
  custom: {
    50: '#e1aedc',
    500: '#d28ccd',
    950: '#000000',
  },
}
SCSS
$custom: #d28ccd;
$custom-light: #e1aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ccd",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 304.286,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73168,
    "c": 0.11996,
    "h": 329.2
  },
  "luminance": 0.36866
}

Semantic roles & 50–950 ramp

primary
#D28CCD
secondary
#D2E7D4
accent
#B7382F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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