#D78EF2#D78EF2

#D78EF2 is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.6% C 0.158 H 316.5°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D78EF2
RGBrgb(215, 142, 242)
HSLhsl(284, 79%, 75%)
HSVhsv(284, 41%, 95%)
CMYKcmyk(11.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(69.62, 44.37, -39.33)
CIE-LCHlch(69.62, 59.29, 318.45°)
OKLaboklab(75.61% 0.1143 -0.1085)
OKLCHoklch(75.61% 0.158 316.5)
XYZxyz(53.7220, 40.2053, 88.9176)
Luminance0.4020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78EF2 #A9F28E
analogous
#A58EF2 #D78EF2 #F28EDB
triadic
#D78EF2 #F2D78E #8EF2D7
tetradic
#D78EF2 #F2A58E #A9F28E #8EDBF2
square
#D78EF2 #F2A58E #A9F28E #8EDBF2
split-complementary
#D78EF2 #DBF28E #8EF2A5
monochromatic
#B020E5 #C457EC #D78EF2 #EAC5F8 #F5E4FC

Accessibility & contrast

On white

2.32
#D78EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#D78EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78EF2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78EF2#FFFFFF#000000##000000
##D78EF21.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#D69BB5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78ef2;
/* rgb */ color: rgb(215, 142, 242);
/* oklch */ color: oklch(75.6% 0.158 316.5);
Tailwind
colors: {
  custom: {
    50: '#e5b0f6',
    500: '#d78ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d78ef2;
$custom-light: #e5b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d78ef2",
  "rgb": {
    "r": 215,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 283.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75609,
    "c": 0.15764,
    "h": 316.5
  },
  "luminance": 0.40204
}

Semantic roles & 50–950 ramp

primary
#D78EF2
secondary
#DFF4D7
accent
#DC0A42
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #D78EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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