#D788FD#D788FD

#D788FD is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.179 H 313.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D788FD
RGBrgb(215, 136, 253)
HSLhsl(281, 97%, 76%)
HSVhsv(281, 46%, 99%)
CMYKcmyk(15%, 46.2%, 0%, 0.8%)
CIE-LABlab(68.86, 49.76, -46.52)
CIE-LCHlch(68.86, 68.12, 316.92°)
OKLaboklab(75.2% 0.1244 -0.1292)
OKLCHoklch(75.2% 0.179 313.9)
XYZxyz(54.5552, 39.1486, 97.5920)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D788FD #AEFD88
analogous
#9D88FD #D788FD #FD88E9
triadic
#D788FD #FDD788 #88FDD7
tetradic
#D788FD #FD9D88 #AEFD88 #88E9FD
square
#D788FD #FD9D88 #AEFD88 #88E9FD
split-complementary
#D788FD #E9FD88 #88FD9D
monochromatic
#AF10FB #C34CFC #D788FD #EBC4FE #F5E1FE

Accessibility & contrast

On white

2.38
#D788FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D788FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D788FD
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D788FD#FFFFFF#000000##000000
##D788FD1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#D49AB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d788fd;
/* rgb */ color: rgb(215, 136, 253);
/* oklch */ color: oklch(75.2% 0.179 313.9);
Tailwind
colors: {
  custom: {
    50: '#e5acfe',
    500: '#d788fd',
    950: '#000000',
  },
}
SCSS
$custom: #d788fd;
$custom-light: #e5acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d788fd",
  "rgb": {
    "r": 215,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 280.513,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75203,
    "c": 0.17941,
    "h": 313.9
  },
  "luminance": 0.39147
}

Semantic roles & 50–950 ramp

primary
#D788FD
secondary
#DFF7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D788FD

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

Preview Lab → · Contrast checker → · Palette generator →

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