#D28FEF#D28FEF

#D28FEF is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.1% C 0.150 H 315.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D28FEF
RGBrgb(210, 143, 239)
HSLhsl(282, 75%, 75%)
HSVhsv(282, 40%, 94%)
CMYKcmyk(12.1%, 40.2%, 0%, 6.3%)
CIE-LABlab(69.17, 41.77, -38.42)
CIE-LCHlch(69.17, 56.76, 317.39°)
OKLaboklab(75.11% 0.1066 -0.106)
OKLCHoklch(75.11% 0.15 315.1)
XYZxyz(51.9784, 39.5798, 86.5461)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FEF #ACEF8F
analogous
#A28FEF #D28FEF #EF8FDC
triadic
#D28FEF #EFD28F #8FEFD2
tetradic
#D28FEF #EFA28F #ACEF8F #8FDCEF
square
#D28FEF #EFA28F #ACEF8F #8FDCEF
split-complementary
#D28FEF #DCEF8F #8FEFA2
monochromatic
#A724E0 #BC59E7 #D28FEF #E8C5F7 #F4E4FB

Accessibility & contrast

On white

2.36
#D28FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#D28FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FEF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FEF#FFFFFF#000000##000000
##D28FEF1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#D09CB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28fef;
/* rgb */ color: rgb(210, 143, 239);
/* oklch */ color: oklch(75.1% 0.150 315.1);
Tailwind
colors: {
  custom: {
    50: '#e1b1f4',
    500: '#d28fef',
    950: '#000000',
  },
}
SCSS
$custom: #d28fef;
$custom-light: #e1b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d28fef",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 281.875,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75113,
    "c": 0.15034,
    "h": 315.1
  },
  "luminance": 0.39579
}

Semantic roles & 50–950 ramp

primary
#D28FEF
secondary
#E0F3D8
accent
#D70E4B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D28FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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