#DE78FB#DE78FB

#DE78FB is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.6% C 0.206 H 318.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DE78FB
RGBrgb(222, 120, 251)
HSLhsl(287, 94%, 73%)
HSVhsv(287, 52%, 98%)
CMYKcmyk(11.6%, 52.2%, 0%, 1.6%)
CIE-LABlab(66.47, 59.30, -49.15)
CIE-LCHlch(66.47, 77.02, 320.35°)
OKLaboklab(73.58% 0.1536 -0.1366)
OKLCHoklch(73.58% 0.206 318.4)
XYZxyz(54.2509, 35.9296, 95.3255)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78FB #95FB78
analogous
#9D78FB #DE78FB #FB78D6
triadic
#DE78FB #FBDE78 #78FBDE
tetradic
#DE78FB #FB9D78 #95FB78 #78D6FB
square
#DE78FB #FB9D78 #95FB78 #78D6FB
split-complementary
#DE78FB #D6FB78 #78FB9D
monochromatic
#BE07F1 #CF3DF9 #DE78FB #EDB3FD #F8E1FE

Accessibility & contrast

On white

2.57
#DE78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#DE78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE78FB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE78FB#FFFFFF#000000##000000
##DE78FB1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#DE8BAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de78fb;
/* rgb */ color: rgb(222, 120, 251);
/* oklch */ color: oklch(73.6% 0.206 318.4);
Tailwind
colors: {
  custom: {
    50: '#eba3fd',
    500: '#de78fb',
    950: '#000000',
  },
}
SCSS
$custom: #de78fb;
$custom-light: #eba3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de78fb",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 286.718,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73575,
    "c": 0.20554,
    "h": 318.4
  },
  "luminance": 0.35928
}

Semantic roles & 50–950 ramp

primary
#DE78FB
secondary
#DCF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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