#D28DEB#D28DEB

#D28DEB is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.6% C 0.149 H 316.7°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#D28DEB
RGBrgb(210, 141, 235)
HSLhsl(284, 70%, 74%)
HSVhsv(284, 40%, 92%)
CMYKcmyk(10.6%, 40%, 0%, 7.8%)
CIE-LABlab(68.57, 42.03, -37.16)
CIE-LCHlch(68.57, 56.10, 318.52°)
OKLaboklab(74.61% 0.1086 -0.1024)
OKLCHoklch(74.61% 0.149 316.7)
XYZxyz(51.0964, 38.7509, 83.3692)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DEB #A6EB8D
analogous
#A38DEB #D28DEB #EB8DD5
triadic
#D28DEB #EBD28D #8DEBD2
tetradic
#D28DEB #EBA38D #A6EB8D #8DD5EB
square
#D28DEB #EBA38D #A6EB8D #8DD5EB
split-complementary
#D28DEB #D5EB8D #8DEBA3
monochromatic
#A826D8 #BD59E2 #D28DEB #E7C1F4 #F5E5FA

Accessibility & contrast

On white

2.40
#D28DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#D28DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DEB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DEB#FFFFFF#000000##000000
##D28DEB1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#D199B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28deb;
/* rgb */ color: rgb(210, 141, 235);
/* oklch */ color: oklch(74.6% 0.149 316.7);
Tailwind
colors: {
  custom: {
    50: '#e1aff1',
    500: '#d28deb',
    950: '#000000',
  },
}
SCSS
$custom: #d28deb;
$custom-light: #e1aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d28deb",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 284.043,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.14929,
    "h": 316.7
  },
  "luminance": 0.3875
}

Semantic roles & 50–950 ramp

primary
#D28DEB
secondary
#E0F2D9
accent
#D21346
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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