#D28FF2#D28FF2

#D28FF2 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.3% C 0.154 H 314.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D28FF2
RGBrgb(210, 143, 242)
HSLhsl(281, 79%, 75%)
HSVhsv(281, 41%, 95%)
CMYKcmyk(13.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(69.30, 42.39, -39.86)
CIE-LCHlch(69.30, 58.19, 316.76°)
OKLaboklab(75.25% 0.1072 -0.1102)
OKLCHoklch(75.25% 0.154 314.2)
XYZxyz(52.4252, 39.7585, 88.8997)
Luminance0.3976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FF2 #AFF28F
analogous
#A08FF2 #D28FF2 #F28FE0
triadic
#D28FF2 #F2D28F #8FF2D2
tetradic
#D28FF2 #F2A08F #AFF28F #8FE0F2
square
#D28FF2 #F2A08F #AFF28F #8FE0F2
split-complementary
#D28FF2 #E0F28F #8FF2A0
monochromatic
#A621E5 #BC58EC #D28FF2 #E8C6F8 #F4E4FC

Accessibility & contrast

On white

2.35
#D28FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#D28FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FF2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FF2#FFFFFF#000000##000000
##D28FF21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#D09DB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28ff2;
/* rgb */ color: rgb(210, 143, 242);
/* oklch */ color: oklch(75.3% 0.154 314.2);
Tailwind
colors: {
  custom: {
    50: '#e1b1f6',
    500: '#d28ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d28ff2;
$custom-light: #e1b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ff2",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 280.606,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75251,
    "c": 0.15369,
    "h": 314.2
  },
  "luminance": 0.39757
}

Semantic roles & 50–950 ramp

primary
#D28FF2
secondary
#E1F4D7
accent
#DB0A4E
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #D28FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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