#D28BE7#D28BE7

#D28BE7 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.1% C 0.148 H 318.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#D28BE7
RGBrgb(210, 139, 231)
HSLhsl(286, 66%, 73%)
HSVhsv(286, 40%, 91%)
CMYKcmyk(9.1%, 39.8%, 0%, 9.4%)
CIE-LABlab(67.97, 42.29, -35.88)
CIE-LCHlch(67.97, 55.46, 319.69°)
OKLaboklab(74.1% 0.1107 -0.0987)
OKLCHoklch(74.1% 0.148 318.3)
XYZxyz(50.2328, 37.9379, 80.2624)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BE7 #A0E78B
analogous
#A48BE7 #D28BE7 #E78BCE
triadic
#D28BE7 #E7D28B #8BE7D2
tetradic
#D28BE7 #E7A48B #A0E78B #8BCEE7
square
#D28BE7 #E7A48B #A0E78B #8BCEE7
split-complementary
#D28BE7 #CEE78B #8BE7A4
monochromatic
#A82ACD #BE58DD #D28BE7 #E6BEF1 #F5E6FA

Accessibility & contrast

On white

2.45
#D28BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#D28BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BE7
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BE7#FFFFFF#000000##000000
##D28BE71.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA1EA
Deuteranopia (green-blind)
#8FA8E4
Tritanopia (blue-blind)
#D297AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28be7;
/* rgb */ color: rgb(210, 139, 231);
/* oklch */ color: oklch(74.1% 0.148 318.3);
Tailwind
colors: {
  custom: {
    50: '#e1aeef',
    500: '#d28be7',
    950: '#000000',
  },
}
SCSS
$custom: #d28be7;
$custom-light: #e1aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#d28be7",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 286.304,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74104,
    "c": 0.14832,
    "h": 318.3
  },
  "luminance": 0.37936
}

Semantic roles & 50–950 ramp

primary
#D28BE7
secondary
#DFF1DA
accent
#CE1841
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D28BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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