#D78DFF#D78DFF

#D78DFF is a light, vivid violet. Relative luminance 0.407; OKLCH L 76.1% C 0.174 H 312.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#D78DFF
RGBrgb(215, 141, 255)
HSLhsl(279, 100%, 78%)
HSVhsv(279, 45%, 100%)
CMYKcmyk(15.7%, 44.7%, 0%, 0%)
CIE-LABlab(69.98, 47.56, -45.86)
CIE-LCHlch(69.98, 66.07, 316.05°)
OKLaboklab(76.07% 0.1179 -0.1273)
OKLCHoklch(76.07% 0.174 312.8)
XYZxyz(55.5962, 40.7180, 99.5190)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78DFF #B5FF8D
analogous
#9E8DFF #D78DFF #FF8DEE
triadic
#D78DFF #FFD78D #8DFFD7
tetradic
#D78DFF #FF9E8D #B5FF8D #8DEEFF
square
#D78DFF #FF9E8D #B5FF8D #8DEEFF
split-complementary
#D78DFF #EEFF8D #8DFF9E
monochromatic
#AC13FF #C250FF #D78DFF #ECCAFF #F4E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D78DFF#FFFFFF#000000##000000
##D78DFF1.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)
#75A7FF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#D39EBA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d78dff;
/* rgb */ color: rgb(215, 141, 255);
/* oklch */ color: oklch(76.1% 0.174 312.8);
Tailwind
colors: {
  custom: {
    50: '#e5b0ff',
    500: '#d78dff',
    950: '#000000',
  },
}
SCSS
$custom: #d78dff;
$custom-light: #e5b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d78dff",
  "rgb": {
    "r": 215,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 278.947,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76068,
    "c": 0.17355,
    "h": 312.8
  },
  "luminance": 0.40717
}

Semantic roles & 50–950 ramp

primary
#D78DFF
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D78DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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