#D28AF8#D28AF8

#D28AF8 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.169 H 313.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#D28AF8
RGBrgb(210, 138, 248)
HSLhsl(279, 89%, 76%)
HSVhsv(279, 44%, 97%)
CMYKcmyk(15.3%, 44.4%, 0%, 2.7%)
CIE-LABlab(68.50, 46.29, -44.39)
CIE-LCHlch(68.50, 64.14, 316.20°)
OKLaboklab(74.74% 0.1152 -0.1232)
OKLCHoklch(74.74% 0.169 313.1)
XYZxyz(52.6073, 38.6570, 93.4790)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF8 #B0F88A
analogous
#9B8AF8 #D28AF8 #F88AE7
triadic
#D28AF8 #F8D28A #8AF8D2
tetradic
#D28AF8 #F89B8A #B0F88A #8AE7F8
square
#D28AF8 #F89B8A #B0F88A #8AE7F8
split-complementary
#D28AF8 #E7F88A #8AF89B
monochromatic
#A617F1 #BC50F5 #D28AF8 #E8C4FB #F4E2FD

Accessibility & contrast

On white

2.41
#D28AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#D28AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF8
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF8#FFFFFF#000000##000000
##D28AF81.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#CF9AB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28af8;
/* rgb */ color: rgb(210, 138, 248);
/* oklch */ color: oklch(74.7% 0.169 313.1);
Tailwind
colors: {
  custom: {
    50: '#e1aefb',
    500: '#d28af8',
    950: '#000000',
  },
}
SCSS
$custom: #d28af8;
$custom-light: #e1aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af8",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 279.273,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.16863,
    "h": 313.1
  },
  "luminance": 0.38656
}

Semantic roles & 50–950 ramp

primary
#D28AF8
secondary
#E1F5D6
accent
#E5004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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