#D28DFC#D28DFC

#D28DFC is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.168 H 311.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D28DFC
RGBrgb(210, 141, 252)
HSLhsl(277, 95%, 77%)
HSVhsv(277, 44%, 99%)
CMYKcmyk(16.7%, 44%, 0%, 1.2%)
CIE-LABlab(69.31, 45.54, -45.30)
CIE-LCHlch(69.31, 64.24, 315.15°)
OKLaboklab(75.41% 0.1116 -0.1258)
OKLCHoklch(75.41% 0.168 311.6)
XYZxyz(53.6708, 39.7807, 96.9277)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DFC #B7FC8D
analogous
#9B8DFC #D28DFC #FC8DEF
triadic
#D28DFC #FCD28D #8DFCD2
tetradic
#D28DFC #FC9B8D #B7FC8D #8DEFFC
square
#D28DFC #FC9B8D #B7FC8D #8DEFFC
split-complementary
#D28DFC #EFFC8D #8DFC9B
monochromatic
#A316F9 #BA51FA #D28DFC #EAC9FE #F3E1FE

Accessibility & contrast

On white

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

On black

8.96
#D28DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DFC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DFC#FFFFFF#000000##000000
##D28DFC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d28dfc;
/* rgb */ color: rgb(210, 141, 252);
/* oklch */ color: oklch(75.4% 0.168 311.6);
Tailwind
colors: {
  custom: {
    50: '#e1b0fe',
    500: '#d28dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d28dfc;
$custom-light: #e1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d28dfc",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 277.297,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75407,
    "c": 0.16823,
    "h": 311.6
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#D28DFC
secondary
#E1F6D5
accent
#E60057
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151018
muted
#847F86

Preview Lab

Preview with #D28DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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