#D88EF8#D88EF8

#D88EF8 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.0% C 0.165 H 315.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#D88EF8
RGBrgb(216, 142, 248)
HSLhsl(282, 88%, 76%)
HSVhsv(282, 43%, 97%)
CMYKcmyk(12.9%, 42.7%, 0%, 2.7%)
CIE-LABlab(69.98, 45.87, -42.03)
CIE-LCHlch(69.98, 62.22, 317.51°)
OKLaboklab(75.99% 0.1166 -0.1163)
OKLCHoklch(75.99% 0.165 315.1)
XYZxyz(54.9325, 40.7236, 93.7554)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D88EF8 #AEF88E
analogous
#A38EF8 #D88EF8 #F88EE3
triadic
#D88EF8 #F8D88E #8EF8D8
tetradic
#D88EF8 #F8A38E #AEF88E #8EE3F8
square
#D88EF8 #F8A38E #AEF88E #8EE3F8
split-complementary
#D88EF8 #E3F88E #8EF8A3
monochromatic
#B01BF1 #C454F4 #D88EF8 #ECC8FC #F5E2FD

Accessibility & contrast

On white

2.30
#D88EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#D88EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D88EF8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D88EF8#FFFFFF#000000##000000
##D88EF81.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#D69DB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d88ef8;
/* rgb */ color: rgb(216, 142, 248);
/* oklch */ color: oklch(76.0% 0.165 315.1);
Tailwind
colors: {
  custom: {
    50: '#e6b0fb',
    500: '#d88ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d88ef8;
$custom-light: #e6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d88ef8",
  "rgb": {
    "r": 216,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 281.887,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75993,
    "c": 0.16464,
    "h": 315.1
  },
  "luminance": 0.40722
}

Semantic roles & 50–950 ramp

primary
#D88EF8
secondary
#DFF5D6
accent
#E50146
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D88EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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