#D28EFE#D28EFE

#D28EFE is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.7% C 0.169 H 310.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D28EFE
RGBrgb(210, 142, 254)
HSLhsl(276, 98%, 78%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(17.3%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.61, 45.44, -45.92)
CIE-LCHlch(69.61, 64.60, 314.70°)
OKLaboklab(75.66% 0.1106 -0.1276)
OKLCHoklch(75.66% 0.169 310.9)
XYZxyz(54.1375, 40.2043, 98.6550)
Luminance0.4020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EFE #BAFE8E
analogous
#9A8EFE #D28EFE #FE8EF2
triadic
#D28EFE #FED28E #8EFED2
tetradic
#D28EFE #FE9A8E #BAFE8E #8EF2FE
square
#D28EFE #FE9A8E #BAFE8E #8EF2FE
split-complementary
#D28EFE #F2FE8E #8EFE9A
monochromatic
#A215FD #BA51FD #D28EFE #EACBFF #F3E1FF

Accessibility & contrast

On white

2.32
#D28EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#D28EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EFE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EFE#FFFFFF#000000##000000
##D28EFE1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#CD9FBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d28efe;
/* rgb */ color: rgb(210, 142, 254);
/* oklch */ color: oklch(75.7% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#e2b0ff',
    500: '#d28efe',
    950: '#000000',
  },
}
SCSS
$custom: #d28efe;
$custom-light: #e2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d28efe",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 276.429,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75663,
    "c": 0.16888,
    "h": 310.9
  },
  "luminance": 0.40203
}

Semantic roles & 50–950 ramp

primary
#D28EFE
secondary
#E2F7D4
accent
#E6005A
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D28EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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