#D28EF3#D28EF3

#D28EF3 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.156 H 314.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D28EF3
RGBrgb(210, 142, 243)
HSLhsl(280, 81%, 75%)
HSVhsv(280, 42%, 95%)
CMYKcmyk(13.6%, 41.6%, 0%, 4.7%)
CIE-LABlab(69.13, 43.13, -40.68)
CIE-LCHlch(69.13, 59.29, 316.68°)
OKLaboklab(75.14% 0.1087 -0.1125)
OKLCHoklch(75.14% 0.156 314)
XYZxyz(52.4264, 39.5199, 89.6430)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EF3 #AFF38E
analogous
#9F8EF3 #D28EF3 #F38EE1
triadic
#D28EF3 #F3D28E #8EF3D2
tetradic
#D28EF3 #F39F8E #AFF38E #8EE1F3
square
#D28EF3 #F39F8E #AFF38E #8EE1F3
split-complementary
#D28EF3 #E1F38E #8EF39F
monochromatic
#A61FE7 #BC57ED #D28EF3 #E8C5F9 #F4E3FC

Accessibility & contrast

On white

2.36
#D28EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D28EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EF3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EF3#FFFFFF#000000##000000
##D28EF31.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#D09CB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28ef3;
/* rgb */ color: rgb(210, 142, 243);
/* oklch */ color: oklch(75.1% 0.156 314.0);
Tailwind
colors: {
  custom: {
    50: '#e1b0f7',
    500: '#d28ef3',
    950: '#000000',
  },
}
SCSS
$custom: #d28ef3;
$custom-light: #e1b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ef3",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 280.396,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.15648,
    "h": 314
  },
  "luminance": 0.39519
}

Semantic roles & 50–950 ramp

primary
#D28EF3
secondary
#E1F4D7
accent
#DD084E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #D28EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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