#D28DEF#D28DEF

#D28DEF is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.8% C 0.154 H 315.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#D28DEF
RGBrgb(210, 141, 239)
HSLhsl(282, 75%, 75%)
HSVhsv(282, 41%, 94%)
CMYKcmyk(12.1%, 41%, 0%, 6.3%)
CIE-LABlab(68.74, 42.84, -39.09)
CIE-LCHlch(68.74, 57.99, 317.62°)
OKLaboklab(74.79% 0.1094 -0.1079)
OKLCHoklch(74.79% 0.154 315.4)
XYZxyz(51.6808, 38.9847, 86.4470)
Luminance0.3898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DEF #AAEF8D
analogous
#A18DEF #D28DEF #EF8DDB
triadic
#D28DEF #EFD28D #8DEFD2
tetradic
#D28DEF #EFA18D #AAEF8D #8DDBEF
square
#D28DEF #EFA18D #AAEF8D #8DDBEF
split-complementary
#D28DEF #DBEF8D #8DEFA1
monochromatic
#A822E0 #BD57E7 #D28DEF #E7C3F7 #F4E4FB

Accessibility & contrast

On white

2.39
#D28DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#D28DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DEF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DEF#FFFFFF#000000##000000
##D28DEF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#D19AB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28def;
/* rgb */ color: rgb(210, 141, 239);
/* oklch */ color: oklch(74.8% 0.154 315.4);
Tailwind
colors: {
  custom: {
    50: '#e1aff4',
    500: '#d28def',
    950: '#000000',
  },
}
SCSS
$custom: #d28def;
$custom-light: #e1aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d28def",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 282.245,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7479,
    "c": 0.15369,
    "h": 315.4
  },
  "luminance": 0.38983
}

Semantic roles & 50–950 ramp

primary
#D28DEF
secondary
#E0F3D8
accent
#D80E4A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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