#D28DFE#D28DFE

#D28DFE is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.5% C 0.170 H 311.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D28DFE
RGBrgb(210, 141, 254)
HSLhsl(277, 98%, 77%)
HSVhsv(277, 44%, 100%)
CMYKcmyk(17.3%, 44.5%, 0%, 0.4%)
CIE-LABlab(69.40, 45.97, -46.25)
CIE-LCHlch(69.40, 65.21, 314.82°)
OKLaboklab(75.51% 0.112 -0.1286)
OKLCHoklch(75.51% 0.17 311)
XYZxyz(53.9894, 39.9081, 98.6056)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DFE #B9FE8D
analogous
#998DFE #D28DFE #FE8DF2
triadic
#D28DFE #FED28D #8DFED2
tetradic
#D28DFE #FE998D #B9FE8D #8DF2FE
square
#D28DFE #FE998D #B9FE8D #8DF2FE
split-complementary
#D28DFE #F2FE8D #8DFE99
monochromatic
#A214FD #BA50FD #D28DFE #EACAFF #F3E1FF

Accessibility & contrast

On white

2.34
#D28DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D28DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DFE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DFE#FFFFFF#000000##000000
##D28DFE1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#CD9EBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28dfe;
/* rgb */ color: rgb(210, 141, 254);
/* oklch */ color: oklch(75.5% 0.170 311.0);
Tailwind
colors: {
  custom: {
    50: '#e2b0ff',
    500: '#d28dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d28dfe;
$custom-light: #e2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d28dfe",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 276.637,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.17049,
    "h": 311
  },
  "luminance": 0.39907
}

Semantic roles & 50–950 ramp

primary
#D28DFE
secondary
#E2F7D4
accent
#E60059
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D28DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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