#D28EFF#D28EFF

#D28EFF is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.7% C 0.170 H 310.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D28EFF
RGBrgb(210, 142, 255)
HSLhsl(276, 100%, 78%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(17.6%, 44.3%, 0%, 0%)
CIE-LABlab(69.66, 45.65, -46.39)
CIE-LCHlch(69.66, 65.09, 314.54°)
OKLaboklab(75.71% 0.1107 -0.129)
OKLCHoklch(75.71% 0.17 310.6)
XYZxyz(54.2981, 40.2685, 99.5006)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EFF #BBFF8E
analogous
#998EFF #D28EFF #FF8EF4
triadic
#D28EFF #FFD28E #8EFFD2
tetradic
#D28EFF #FF998E #BBFF8E #8EF4FF
square
#D28EFF #FF998E #BBFF8E #8EF4FF
split-complementary
#D28EFF #F4FF8E #8EFF99
monochromatic
#A114FF #BA51FF #D28EFF #EACBFF #F3E0FF

Accessibility & contrast

On white

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

On black

9.05
#D28EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EFF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EFF#FFFFFF#000000##000000
##D28EFF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d28eff;
/* rgb */ color: rgb(210, 142, 255);
/* oklch */ color: oklch(75.7% 0.170 310.6);
Tailwind
colors: {
  custom: {
    50: '#e2b0ff',
    500: '#d28eff',
    950: '#000000',
  },
}
SCSS
$custom: #d28eff;
$custom-light: #e2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d28eff",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 276.106,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75712,
    "c": 0.17001,
    "h": 310.6
  },
  "luminance": 0.40268
}

Semantic roles & 50–950 ramp

primary
#D28EFF
secondary
#E2F7D4
accent
#E6005B
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D28EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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