#D28BF4#D28BF4

#D28BF4 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.7% C 0.163 H 314.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D28BF4
RGBrgb(210, 139, 244)
HSLhsl(281, 83%, 75%)
HSVhsv(281, 43%, 96%)
CMYKcmyk(13.9%, 43%, 0%, 4.3%)
CIE-LABlab(68.53, 44.93, -42.15)
CIE-LCHlch(68.53, 61.61, 316.83°)
OKLaboklab(74.71% 0.1131 -0.1167)
OKLCHoklch(74.71% 0.163 314.1)
XYZxyz(52.1375, 38.6997, 90.2937)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BF4 #ADF48B
analogous
#9D8BF4 #D28BF4 #F48BE2
triadic
#D28BF4 #F4D28B #8BF4D2
tetradic
#D28BF4 #F49D8B #ADF48B #8BE2F4
square
#D28BF4 #F49D8B #ADF48B #8BE2F4
split-complementary
#D28BF4 #E2F48B #8BF49D
monochromatic
#A71BE9 #BC53EF #D28BF4 #E8C3F9 #F4E3FC

Accessibility & contrast

On white

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

On black

8.74
#D28BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BF4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BF4#FFFFFF#000000##000000
##D28BF41.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F8
Deuteranopia (green-blind)
#8AA9F1
Tritanopia (blue-blind)
#D09AB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28bf4;
/* rgb */ color: rgb(210, 139, 244);
/* oklch */ color: oklch(74.7% 0.163 314.1);
Tailwind
colors: {
  custom: {
    50: '#e1aef8',
    500: '#d28bf4',
    950: '#000000',
  },
}
SCSS
$custom: #d28bf4;
$custom-light: #e1aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bf4",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 280.571,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74706,
    "c": 0.16256,
    "h": 314.1
  },
  "luminance": 0.38699
}

Semantic roles & 50–950 ramp

primary
#D28BF4
secondary
#E0F4D7
accent
#DF064D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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