#D28AF5#D28AF5

#D28AF5 is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.6% C 0.165 H 313.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D28AF5
RGBrgb(210, 138, 245)
HSLhsl(280, 84%, 75%)
HSVhsv(280, 44%, 96%)
CMYKcmyk(14.3%, 43.7%, 0%, 3.9%)
CIE-LABlab(68.37, 45.67, -42.96)
CIE-LCHlch(68.37, 62.70, 316.75°)
OKLaboklab(74.6% 0.1147 -0.1191)
OKLCHoklch(74.6% 0.165 313.9)
XYZxyz(52.1456, 38.4724, 91.0475)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF5 #ADF58A
analogous
#9D8AF5 #D28AF5 #F58AE2
triadic
#D28AF5 #F5D28A #8AF5D2
tetradic
#D28AF5 #F59D8A #ADF58A #8AE2F5
square
#D28AF5 #F59D8A #ADF58A #8AE2F5
split-complementary
#D28AF5 #E2F58A #8AF59D
monochromatic
#A719EB #BC52F0 #D28AF5 #E8C2FA #F4E3FD

Accessibility & contrast

On white

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

On black

8.69
#D28AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF5
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF5#FFFFFF#000000##000000
##D28AF51.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3F9
Deuteranopia (green-blind)
#88A9F2
Tritanopia (blue-blind)
#CF99B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28af5;
/* rgb */ color: rgb(210, 138, 245);
/* oklch */ color: oklch(74.6% 0.165 313.9);
Tailwind
colors: {
  custom: {
    50: '#e1aef9',
    500: '#d28af5',
    950: '#000000',
  },
}
SCSS
$custom: #d28af5;
$custom-light: #e1aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af5",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 280.374,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74596,
    "c": 0.16531,
    "h": 313.9
  },
  "luminance": 0.38471
}

Semantic roles & 50–950 ramp

primary
#D28AF5
secondary
#E0F5D6
accent
#E1054D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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