#D78FF7#D78FF7

#D78FF7 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.0% C 0.161 H 314.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#D78FF7
RGBrgb(215, 143, 247)
HSLhsl(282, 87%, 76%)
HSVhsv(282, 42%, 97%)
CMYKcmyk(13%, 42.1%, 0%, 3.1%)
CIE-LABlab(70.04, 44.86, -41.40)
CIE-LCHlch(70.04, 61.04, 317.30°)
OKLaboklab(76% 0.1138 -0.1145)
OKLCHoklch(76% 0.161 314.8)
XYZxyz(54.6327, 40.8087, 92.9766)
Luminance0.4081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78FF7 #AFF78F
analogous
#A38FF7 #D78FF7 #F78FE3
triadic
#D78FF7 #F7D78F #8FF7D7
tetradic
#D78FF7 #F7A38F #AFF78F #8FE3F7
square
#D78FF7 #F7A38F #AFF78F #8FE3F7
split-complementary
#D78FF7 #E3F78F #8FF7A3
monochromatic
#AE1DEF #C356F3 #D78FF7 #EBC8FB #F5E2FD

Accessibility & contrast

On white

2.29
#D78FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#D78FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78FF7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78FF7#FFFFFF#000000##000000
##D78FF71.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#8FADF4
Tritanopia (blue-blind)
#D59EB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78ff7;
/* rgb */ color: rgb(215, 143, 247);
/* oklch */ color: oklch(76.0% 0.161 314.8);
Tailwind
colors: {
  custom: {
    50: '#e5b1fa',
    500: '#d78ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d78ff7;
$custom-light: #e5b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ff7",
  "rgb": {
    "r": 215,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 281.538,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75999,
    "c": 0.16145,
    "h": 314.8
  },
  "luminance": 0.40807
}

Semantic roles & 50–950 ramp

primary
#D78FF7
secondary
#E0F5D6
accent
#E30247
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D78FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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