#D28DF7#D28DF7

#D28DF7 is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.2% C 0.163 H 313.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D28DF7
RGBrgb(210, 141, 247)
HSLhsl(279, 87%, 76%)
HSVhsv(279, 43%, 97%)
CMYKcmyk(15%, 42.9%, 0%, 3.1%)
CIE-LABlab(69.09, 44.49, -42.93)
CIE-LCHlch(69.09, 61.82, 316.03°)
OKLaboklab(75.17% 0.1108 -0.119)
OKLCHoklch(75.17% 0.163 313)
XYZxyz(52.8889, 39.4679, 92.8096)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DF7 #B2F78D
analogous
#9D8DF7 #D28DF7 #F78DE7
triadic
#D28DF7 #F7D28D #8DF7D2
tetradic
#D28DF7 #F79D8D #B2F78D #8DE7F7
square
#D28DF7 #F79D8D #B2F78D #8DE7F7
split-complementary
#D28DF7 #E7F78D #8DF79D
monochromatic
#A51BEF #BB54F3 #D28DF7 #E9C6FB #F4E2FD

Accessibility & contrast

On white

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

On black

8.89
#D28DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DF7
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DF7#FFFFFF#000000##000000
##D28DF71.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#CF9CB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28df7;
/* rgb */ color: rgb(210, 141, 247);
/* oklch */ color: oklch(75.2% 0.163 313.0);
Tailwind
colors: {
  custom: {
    50: '#e1b0fa',
    500: '#d28df7',
    950: '#000000',
  },
}
SCSS
$custom: #d28df7;
$custom-light: #e1b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d28df7",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 279.057,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75166,
    "c": 0.1626,
    "h": 313
  },
  "luminance": 0.39467
}

Semantic roles & 50–950 ramp

primary
#D28DF7
secondary
#E1F5D6
accent
#E30251
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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