#D88BF7#D88BF7

#D88BF7 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.5% C 0.168 H 315.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D88BF7
RGBrgb(216, 139, 247)
HSLhsl(283, 87%, 76%)
HSVhsv(283, 44%, 97%)
CMYKcmyk(12.6%, 43.7%, 0%, 3.1%)
CIE-LABlab(69.31, 47.25, -42.53)
CIE-LCHlch(69.31, 63.57, 318.01°)
OKLaboklab(75.48% 0.1206 -0.1177)
OKLCHoklch(75.48% 0.168 315.7)
XYZxyz(54.3375, 39.7810, 92.7938)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D88BF7 #AAF78B
analogous
#A28BF7 #D88BF7 #F78BE0
triadic
#D88BF7 #F7D88B #8BF7D8
tetradic
#D88BF7 #F7A28B #AAF78B #8BE0F7
square
#D88BF7 #F7A28B #AAF78B #8BE0F7
split-complementary
#D88BF7 #E0F78B #8BF7A2
monochromatic
#B218EF #C552F3 #D88BF7 #EBC4FB #F5E2FD

Accessibility & contrast

On white

2.34
#D88BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#D88BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D88BF7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D88BF7#FFFFFF#000000##000000
##D88BF71.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FB
Deuteranopia (green-blind)
#8CACF4
Tritanopia (blue-blind)
#D79AB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d88bf7;
/* rgb */ color: rgb(216, 139, 247);
/* oklch */ color: oklch(75.5% 0.168 315.7);
Tailwind
colors: {
  custom: {
    50: '#e6aefa',
    500: '#d88bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d88bf7;
$custom-light: #e6aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#d88bf7",
  "rgb": {
    "r": 216,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 282.778,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75478,
    "c": 0.16849,
    "h": 315.7
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#D88BF7
secondary
#DFF5D6
accent
#E40243
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D88BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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