#D28FFE#D28FFE

#D28FFE is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.8% C 0.167 H 310.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D28FFE
RGBrgb(210, 143, 254)
HSLhsl(276, 98%, 78%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(17.3%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.83, 44.91, -45.59)
CIE-LCHlch(69.83, 63.99, 314.57°)
OKLaboklab(75.82% 0.1092 -0.1267)
OKLCHoklch(75.82% 0.167 310.8)
XYZxyz(54.2870, 40.5032, 98.7048)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FFE #BBFE8F
analogous
#9A8FFE #D28FFE #FE8FF3
triadic
#D28FFE #FED28F #8FFED2
tetradic
#D28FFE #FE9A8F #BBFE8F #8FF3FE
square
#D28FFE #FE9A8F #BBFE8F #8FF3FE
split-complementary
#D28FFE #F3FE8F #8FFE9A
monochromatic
#A116FD #BA52FD #D28FFE #EACCFF #F3E1FF

Accessibility & contrast

On white

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

On black

9.10
#D28FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FFE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FFE#FFFFFF#000000##000000
##D28FFE1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#CDA0BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d28ffe;
/* rgb */ color: rgb(210, 143, 254);
/* oklch */ color: oklch(75.8% 0.167 310.8);
Tailwind
colors: {
  custom: {
    50: '#e1b1ff',
    500: '#d28ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d28ffe;
$custom-light: #e1b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ffe",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 276.216,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75821,
    "c": 0.16726,
    "h": 310.8
  },
  "luminance": 0.40502
}

Semantic roles & 50–950 ramp

primary
#D28FFE
secondary
#E2F7D4
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D28FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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