#D28EFD#D28EFD

#D28EFD is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.6% C 0.168 H 311.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D28EFD
RGBrgb(210, 142, 253)
HSLhsl(277, 97%, 77%)
HSVhsv(277, 44%, 99%)
CMYKcmyk(17%, 43.9%, 0%, 0.8%)
CIE-LABlab(69.57, 45.23, -45.45)
CIE-LCHlch(69.57, 64.11, 314.86°)
OKLaboklab(75.61% 0.1104 -0.1263)
OKLCHoklch(75.61% 0.168 311.2)
XYZxyz(53.9778, 40.1404, 97.8138)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EFD #B9FD8E
analogous
#9B8EFD #D28EFD #FD8EF0
triadic
#D28EFD #FDD28E #8EFDD2
tetradic
#D28EFD #FD9B8E #B9FD8E #8EF0FD
square
#D28EFD #FD9B8E #B9FD8E #8EF0FD
split-complementary
#D28EFD #F0FD8E #8EFD9B
monochromatic
#A216FB #BA52FC #D28EFD #EACAFE #F3E1FE

Accessibility & contrast

On white

2.33
#D28EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D28EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EFD
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EFD#FFFFFF#000000##000000
##D28EFD1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d28efd;
/* rgb */ color: rgb(210, 142, 253);
/* oklch */ color: oklch(75.6% 0.168 311.2);
Tailwind
colors: {
  custom: {
    50: '#e1b0fe',
    500: '#d28efd',
    950: '#000000',
  },
}
SCSS
$custom: #d28efd;
$custom-light: #e1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d28efd",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 276.757,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75614,
    "c": 0.16775,
    "h": 311.2
  },
  "luminance": 0.40139
}

Semantic roles & 50–950 ramp

primary
#D28EFD
secondary
#E2F7D4
accent
#E60059
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151118
muted
#848086

Preview Lab

Preview with #D28EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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