#D28DFD#D28DFD

#D28DFD is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.5% C 0.169 H 311.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D28DFD
RGBrgb(210, 141, 253)
HSLhsl(277, 97%, 77%)
HSVhsv(277, 44%, 99%)
CMYKcmyk(17%, 44.3%, 0%, 0.8%)
CIE-LABlab(69.36, 45.76, -45.78)
CIE-LCHlch(69.36, 64.72, 314.99°)
OKLaboklab(75.46% 0.1118 -0.1272)
OKLCHoklch(75.46% 0.169 311.3)
XYZxyz(53.8297, 39.8442, 97.7644)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DFD #B8FD8D
analogous
#9A8DFD #D28DFD #FD8DF0
triadic
#D28DFD #FDD28D #8DFDD2
tetradic
#D28DFD #FD9A8D #B8FD8D #8DF0FD
square
#D28DFD #FD9A8D #B8FD8D #8DF0FD
split-complementary
#D28DFD #F0FD8D #8DFD9A
monochromatic
#A315FB #BA51FC #D28DFD #EAC9FE #F3E1FE

Accessibility & contrast

On white

2.34
#D28DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D28DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DFD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DFD#FFFFFF#000000##000000
##D28DFD1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#CD9EB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28dfd;
/* rgb */ color: rgb(210, 141, 253);
/* oklch */ color: oklch(75.5% 0.169 311.3);
Tailwind
colors: {
  custom: {
    50: '#e2b0fe',
    500: '#d28dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d28dfd;
$custom-light: #e2b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d28dfd",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 276.964,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.16936,
    "h": 311.3
  },
  "luminance": 0.39843
}

Semantic roles & 50–950 ramp

primary
#D28DFD
secondary
#E1F7D4
accent
#E60058
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D28DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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