#D28FEE#D28FEE

#D28FEE is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.149 H 315.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D28FEE
RGBrgb(210, 143, 238)
HSLhsl(282, 74%, 75%)
HSVhsv(282, 40%, 93%)
CMYKcmyk(11.8%, 39.9%, 0%, 6.7%)
CIE-LABlab(69.13, 41.57, -37.94)
CIE-LCHlch(69.13, 56.28, 317.61°)
OKLaboklab(75.07% 0.1064 -0.1046)
OKLCHoklch(75.07% 0.149 315.5)
XYZxyz(51.8311, 39.5209, 85.7703)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FEE #ABEE8F
analogous
#A38FEE #D28FEE #EE8FDA
triadic
#D28FEE #EED28F #8FEED2
tetradic
#D28FEE #EEA38F #ABEE8F #8FDAEE
square
#D28FEE #EEA38F #ABEE8F #8FDAEE
split-complementary
#D28FEE #DAEE8F #8FEEA3
monochromatic
#A725DE #BD5AE6 #D28FEE #E7C4F6 #F4E4FB

Accessibility & contrast

On white

2.36
#D28FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D28FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FEE
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FEE#FFFFFF#000000##000000
##D28FEE1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#D19CB3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28fee;
/* rgb */ color: rgb(210, 143, 238);
/* oklch */ color: oklch(75.1% 0.149 315.5);
Tailwind
colors: {
  custom: {
    50: '#e1b1f4',
    500: '#d28fee',
    950: '#000000',
  },
}
SCSS
$custom: #d28fee;
$custom-light: #e1b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d28fee",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 282.316,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75067,
    "c": 0.14923,
    "h": 315.5
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#D28FEE
secondary
#E0F3D8
accent
#D6104A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D28FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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