#D78BF2#D78BF2

#D78BF2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.1% C 0.163 H 316.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#D78BF2
RGBrgb(215, 139, 242)
HSLhsl(284, 80%, 75%)
HSVhsv(284, 43%, 95%)
CMYKcmyk(11.2%, 42.6%, 0%, 5.1%)
CIE-LABlab(68.99, 45.95, -40.31)
CIE-LCHlch(68.99, 61.13, 318.74°)
OKLaboklab(75.14% 0.1186 -0.1113)
OKLCHoklch(75.14% 0.163 316.8)
XYZxyz(53.2816, 39.3246, 88.7709)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78BF2 #A6F28B
analogous
#A48BF2 #D78BF2 #F28BD9
triadic
#D78BF2 #F2D78B #8BF2D7
tetradic
#D78BF2 #F2A48B #A6F28B #8BD9F2
square
#D78BF2 #F2A48B #A6F28B #8BD9F2
split-complementary
#D78BF2 #D9F28B #8BF2A4
monochromatic
#B11DE6 #C454EC #D78BF2 #EAC2F8 #F6E3FC

Accessibility & contrast

On white

2.37
#D78BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#D78BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78BF2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78BF2#FFFFFF#000000##000000
##D78BF21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#D699B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d78bf2;
/* rgb */ color: rgb(215, 139, 242);
/* oklch */ color: oklch(75.1% 0.163 316.8);
Tailwind
colors: {
  custom: {
    50: '#e5aef6',
    500: '#d78bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d78bf2;
$custom-light: #e5aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#d78bf2",
  "rgb": {
    "r": 215,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 284.272,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.16264,
    "h": 316.8
  },
  "luminance": 0.39323
}

Semantic roles & 50–950 ramp

primary
#D78BF2
secondary
#DFF4D7
accent
#DC0941
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D78BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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