#D28BF7#D28BF7

#D28BF7 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.166 H 313.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D28BF7
RGBrgb(210, 139, 247)
HSLhsl(279, 87%, 76%)
HSVhsv(279, 44%, 97%)
CMYKcmyk(15%, 43.7%, 0%, 3.1%)
CIE-LABlab(68.67, 45.55, -43.59)
CIE-LCHlch(68.67, 63.05, 316.26°)
OKLaboklab(74.85% 0.1136 -0.1209)
OKLCHoklch(74.85% 0.166 313.2)
XYZxyz(52.5967, 38.8834, 92.7122)
Luminance0.3888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BF7 #B0F78B
analogous
#9C8BF7 #D28BF7 #F78BE6
triadic
#D28BF7 #F7D28B #8BF7D2
tetradic
#D28BF7 #F79C8B #B0F78B #8BE6F7
square
#D28BF7 #F79C8B #B0F78B #8BE6F7
split-complementary
#D28BF7 #E6F78B #8BF79C
monochromatic
#A618EF #BC52F3 #D28BF7 #E8C4FB #F4E2FD

Accessibility & contrast

On white

2.39
#D28BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#D28BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BF7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BF7#FFFFFF#000000##000000
##D28BF71.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FB
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#CF9BB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28bf7;
/* rgb */ color: rgb(210, 139, 247);
/* oklch */ color: oklch(74.9% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#e1aefa',
    500: '#d28bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d28bf7;
$custom-light: #e1aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bf7",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 279.444,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7485,
    "c": 0.16589,
    "h": 313.2
  },
  "luminance": 0.38882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D28BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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