#D28BF5#D28BF5

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

Color values

HEX#D28BF5
RGBrgb(210, 139, 245)
HSLhsl(280, 84%, 75%)
HSVhsv(280, 43%, 96%)
CMYKcmyk(14.3%, 43.3%, 0%, 3.9%)
CIE-LABlab(68.58, 45.14, -42.63)
CIE-LCHlch(68.58, 62.09, 316.64°)
OKLaboklab(74.75% 0.1133 -0.1181)
OKLCHoklch(74.75% 0.164 313.8)
XYZxyz(52.2897, 38.7606, 91.0955)
Luminance0.3876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BF5 #AEF58B
analogous
#9D8BF5 #D28BF5 #F58BE3
triadic
#D28BF5 #F5D28B #8BF5D2
tetradic
#D28BF5 #F59D8B #AEF58B #8BE3F5
square
#D28BF5 #F59D8B #AEF58B #8BE3F5
split-complementary
#D28BF5 #E3F58B #8BF59D
monochromatic
#A61AEB #BC53F0 #D28BF5 #E8C3FA #F4E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D28BF5#FFFFFF#000000##000000
##D28BF51.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)
#77A3F9
Deuteranopia (green-blind)
#89A9F2
Tritanopia (blue-blind)
#CF9AB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28bf5;
/* rgb */ color: rgb(210, 139, 245);
/* oklch */ color: oklch(74.8% 0.164 313.8);
Tailwind
colors: {
  custom: {
    50: '#e1aef9',
    500: '#d28bf5',
    950: '#000000',
  },
}
SCSS
$custom: #d28bf5;
$custom-light: #e1aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bf5",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 280.189,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74754,
    "c": 0.16367,
    "h": 313.8
  },
  "luminance": 0.38759
}

Semantic roles & 50–950 ramp

primary
#D28BF5
secondary
#E0F5D6
accent
#E1054D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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