#D28DFA#D28DFA

#D28DFA is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.3% C 0.166 H 312.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D28DFA
RGBrgb(210, 141, 250)
HSLhsl(278, 92%, 77%)
HSVhsv(278, 44%, 98%)
CMYKcmyk(16%, 43.6%, 0%, 2%)
CIE-LABlab(69.22, 45.12, -44.35)
CIE-LCHlch(69.22, 63.27, 315.49°)
OKLaboklab(75.31% 0.1113 -0.1231)
OKLCHoklch(75.31% 0.166 312.1)
XYZxyz(53.3556, 39.6546, 95.2673)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DFA #B5FA8D
analogous
#9C8DFA #D28DFA #FA8DEB
triadic
#D28DFA #FAD28D #8DFAD2
tetradic
#D28DFA #FA9C8D #B5FA8D #8DEBFA
square
#D28DFA #FA9C8D #B5FA8D #8DEBFA
split-complementary
#D28DFA #EBFA8D #8DFA9C
monochromatic
#A418F5 #BB52F7 #D28DFA #E9C8FD #F3E2FE

Accessibility & contrast

On white

2.35
#D28DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#D28DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DFA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DFA#FFFFFF#000000##000000
##D28DFA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#88ABF7
Tritanopia (blue-blind)
#CE9DB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28dfa;
/* rgb */ color: rgb(210, 141, 250);
/* oklch */ color: oklch(75.3% 0.166 312.1);
Tailwind
colors: {
  custom: {
    50: '#e1b0fc',
    500: '#d28dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d28dfa;
$custom-light: #e1b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28dfa",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 277.982,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7531,
    "c": 0.16598,
    "h": 312.1
  },
  "luminance": 0.39654
}

Semantic roles & 50–950 ramp

primary
#D28DFA
secondary
#E1F6D5
accent
#E60054
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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