#D28FEB#D28FEB

#D28FEB is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.9% C 0.146 H 316.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D28FEB
RGBrgb(210, 143, 235)
HSLhsl(284, 70%, 74%)
HSVhsv(284, 39%, 92%)
CMYKcmyk(10.6%, 39.1%, 0%, 7.8%)
CIE-LABlab(69.00, 40.96, -36.49)
CIE-LCHlch(69.00, 54.86, 318.30°)
OKLaboklab(74.93% 0.1058 -0.1005)
OKLCHoklch(74.93% 0.146 316.5)
XYZxyz(51.3940, 39.3460, 83.4684)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FEB #A8EB8F
analogous
#A48FEB #D28FEB #EB8FD6
triadic
#D28FEB #EBD28F #8FEBD2
tetradic
#D28FEB #EBA48F #A8EB8F #8FD6EB
square
#D28FEB #EBA48F #A8EB8F #8FD6EB
split-complementary
#D28FEB #D6EB8F #8FEBA4
monochromatic
#A827D8 #BD5BE2 #D28FEB #E7C3F4 #F5E5FA

Accessibility & contrast

On white

2.37
#D28FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D28FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FEB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FEB#FFFFFF#000000##000000
##D28FEB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#91ABE8
Tritanopia (blue-blind)
#D19BB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28feb;
/* rgb */ color: rgb(210, 143, 235);
/* oklch */ color: oklch(74.9% 0.146 316.5);
Tailwind
colors: {
  custom: {
    50: '#e1b1f1',
    500: '#d28feb',
    950: '#000000',
  },
}
SCSS
$custom: #d28feb;
$custom-light: #e1b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d28feb",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 283.696,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74931,
    "c": 0.1459,
    "h": 316.5
  },
  "luminance": 0.39345
}

Semantic roles & 50–950 ramp

primary
#D28FEB
secondary
#E0F2D9
accent
#D21447
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D28FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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