#D28EF4#D28EF4

#D28EF4 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.2% C 0.158 H 313.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D28EF4
RGBrgb(210, 142, 244)
HSLhsl(280, 82%, 76%)
HSVhsv(280, 42%, 96%)
CMYKcmyk(13.9%, 41.8%, 0%, 4.3%)
CIE-LABlab(69.17, 43.34, -41.16)
CIE-LCHlch(69.17, 59.77, 316.48°)
OKLaboklab(75.18% 0.1089 -0.1139)
OKLCHoklch(75.18% 0.158 313.7)
XYZxyz(52.5778, 39.5804, 90.4405)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EF4 #B0F48E
analogous
#9F8EF4 #D28EF4 #F48EE3
triadic
#D28EF4 #F4D28E #8EF4D2
tetradic
#D28EF4 #F49F8E #B0F48E #8EE3F4
square
#D28EF4 #F49F8E #B0F48E #8EE3F4
split-complementary
#D28EF4 #E3F48E #8EF49F
monochromatic
#A61EE9 #BC56EF #D28EF4 #E8C6F9 #F4E3FC

Accessibility & contrast

On white

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

On black

8.92
#D28EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EF4
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EF4#FFFFFF#000000##000000
##D28EF41.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F8
Deuteranopia (green-blind)
#8CABF1
Tritanopia (blue-blind)
#CF9CB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28ef4;
/* rgb */ color: rgb(210, 142, 244);
/* oklch */ color: oklch(75.2% 0.158 313.7);
Tailwind
colors: {
  custom: {
    50: '#e1b0f8',
    500: '#d28ef4',
    950: '#000000',
  },
}
SCSS
$custom: #d28ef4;
$custom-light: #e1b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ef4",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 280,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.1576,
    "h": 313.7
  },
  "luminance": 0.39579
}

Semantic roles & 50–950 ramp

primary
#D28EF4
secondary
#E1F4D7
accent
#DF074F
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151117
muted
#848085

Preview Lab

Preview with #D28EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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