#D28FFD#D28FFD

#D28FFD is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.8% C 0.166 H 311.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#D28FFD
RGBrgb(210, 143, 253)
HSLhsl(277, 96%, 78%)
HSVhsv(277, 43%, 99%)
CMYKcmyk(17%, 43.5%, 0%, 0.8%)
CIE-LABlab(69.78, 44.69, -45.11)
CIE-LCHlch(69.78, 63.50, 314.73°)
OKLaboklab(75.77% 0.1091 -0.1253)
OKLCHoklch(75.77% 0.166 311)
XYZxyz(54.1273, 40.4393, 97.8636)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FFD #BAFD8F
analogous
#9B8FFD #D28FFD #FD8FF1
triadic
#D28FFD #FDD28F #8FFDD2
tetradic
#D28FFD #FD9B8F #BAFD8F #8FF1FD
square
#D28FFD #FD9B8F #BAFD8F #8FF1FD
split-complementary
#D28FFD #F1FD8F #8FFD9B
monochromatic
#A217FB #BA53FC #D28FFD #EACBFE #F3E1FE

Accessibility & contrast

On white

2.31
#D28FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#D28FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FFD
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FFD#FFFFFF#000000##000000
##D28FFD1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#CDA0BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d28ffd;
/* rgb */ color: rgb(210, 143, 253);
/* oklch */ color: oklch(75.8% 0.166 311.0);
Tailwind
colors: {
  custom: {
    50: '#e1b1fe',
    500: '#d28ffd',
    950: '#000000',
  },
}
SCSS
$custom: #d28ffd;
$custom-light: #e1b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ffd",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 276.545,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75773,
    "c": 0.16612,
    "h": 311
  },
  "luminance": 0.40438
}

Semantic roles & 50–950 ramp

primary
#D28FFD
secondary
#E2F7D4
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D28FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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