#D28DF2#D28DF2

#D28DF2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.9% C 0.157 H 314.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D28DF2
RGBrgb(210, 141, 242)
HSLhsl(281, 80%, 75%)
HSVhsv(281, 42%, 95%)
CMYKcmyk(13.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(68.87, 43.46, -40.53)
CIE-LCHlch(68.87, 59.43, 316.99°)
OKLaboklab(74.93% 0.11 -0.1121)
OKLCHoklch(74.93% 0.157 314.5)
XYZxyz(52.1277, 39.1634, 88.8005)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DF2 #ADF28D
analogous
#9F8DF2 #D28DF2 #F28DE0
triadic
#D28DF2 #F2D28D #8DF2D2
tetradic
#D28DF2 #F29F8D #ADF28D #8DE0F2
square
#D28DF2 #F29F8D #ADF28D #8DE0F2
split-complementary
#D28DF2 #E0F28D #8DF29F
monochromatic
#A71FE5 #BC56EC #D28DF2 #E8C4F8 #F4E4FC

Accessibility & contrast

On white

2.38
#D28DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D28DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DF2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DF2#FFFFFF#000000##000000
##D28DF21.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#D09BB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28df2;
/* rgb */ color: rgb(210, 141, 242);
/* oklch */ color: oklch(74.9% 0.157 314.5);
Tailwind
colors: {
  custom: {
    50: '#e1aff6',
    500: '#d28df2',
    950: '#000000',
  },
}
SCSS
$custom: #d28df2;
$custom-light: #e1aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d28df2",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 280.99,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7493,
    "c": 0.15702,
    "h": 314.5
  },
  "luminance": 0.39162
}

Semantic roles & 50–950 ramp

primary
#D28DF2
secondary
#E0F4D7
accent
#DC0A4C
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #D28DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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