#D28EF2#D28EF2

#D28EF2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.155 H 314.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D28EF2
RGBrgb(210, 142, 242)
HSLhsl(281, 79%, 75%)
HSVhsv(281, 41%, 95%)
CMYKcmyk(13.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(69.08, 42.92, -40.20)
CIE-LCHlch(69.08, 58.81, 316.88°)
OKLaboklab(75.09% 0.1086 -0.1111)
OKLCHoklch(75.09% 0.155 314.3)
XYZxyz(52.2758, 39.4596, 88.8498)
Luminance0.3946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EF2 #AEF28E
analogous
#A08EF2 #D28EF2 #F28EE0
triadic
#D28EF2 #F2D28E #8EF2D2
tetradic
#D28EF2 #F2A08E #AEF28E #8EE0F2
square
#D28EF2 #F2A08E #AEF28E #8EE0F2
split-complementary
#D28EF2 #E0F28E #8EF2A0
monochromatic
#A620E5 #BC57EC #D28EF2 #E8C5F8 #F4E4FC

Accessibility & contrast

On white

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

On black

8.89
#D28EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EF2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EF2#FFFFFF#000000##000000
##D28EF21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#D09CB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28ef2;
/* rgb */ color: rgb(210, 142, 242);
/* oklch */ color: oklch(75.1% 0.155 314.3);
Tailwind
colors: {
  custom: {
    50: '#e1b0f6',
    500: '#d28ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d28ef2;
$custom-light: #e1b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ef2",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 280.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7509,
    "c": 0.15536,
    "h": 314.3
  },
  "luminance": 0.39458
}

Semantic roles & 50–950 ramp

primary
#D28EF2
secondary
#E0F4D7
accent
#DC0A4D
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #D28EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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