#D28AF4#D28AF4

#D28AF4 is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.5% C 0.164 H 314.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#D28AF4
RGBrgb(210, 138, 244)
HSLhsl(281, 83%, 75%)
HSVhsv(281, 43%, 96%)
CMYKcmyk(13.9%, 43.4%, 0%, 4.3%)
CIE-LABlab(68.32, 45.46, -42.48)
CIE-LCHlch(68.32, 62.22, 316.94°)
OKLaboklab(74.55% 0.1145 -0.1177)
OKLCHoklch(74.55% 0.164 314.2)
XYZxyz(51.9933, 38.4115, 90.2456)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF4 #ACF48A
analogous
#9D8AF4 #D28AF4 #F48AE1
triadic
#D28AF4 #F4D28A #8AF4D2
tetradic
#D28AF4 #F49D8A #ACF48A #8AE1F4
square
#D28AF4 #F49D8A #ACF48A #8AE1F4
split-complementary
#D28AF4 #E1F48A #8AF49D
monochromatic
#A71AE9 #BC52EF #D28AF4 #E8C2F9 #F4E3FC

Accessibility & contrast

On white

2.42
#D28AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#D28AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF4#FFFFFF#000000##000000
##D28AF41.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F8
Deuteranopia (green-blind)
#89A9F1
Tritanopia (blue-blind)
#D099B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28af4;
/* rgb */ color: rgb(210, 138, 244);
/* oklch */ color: oklch(74.5% 0.164 314.2);
Tailwind
colors: {
  custom: {
    50: '#e1aef8',
    500: '#d28af4',
    950: '#000000',
  },
}
SCSS
$custom: #d28af4;
$custom-light: #e1aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af4",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 280.755,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74549,
    "c": 0.1642,
    "h": 314.2
  },
  "luminance": 0.3841
}

Semantic roles & 50–950 ramp

primary
#D28AF4
secondary
#E0F4D7
accent
#DF064C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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