#D778EB#D778EB

#D778EB is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.0% C 0.186 H 320.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D778EB
RGBrgb(215, 120, 235)
HSLhsl(290, 74%, 70%)
HSVhsv(290, 49%, 92%)
CMYKcmyk(8.5%, 48.9%, 0%, 7.8%)
CIE-LABlab(64.87, 54.35, -42.91)
CIE-LCHlch(64.87, 69.24, 321.71°)
OKLaboklab(71.97% 0.1437 -0.1187)
OKLCHoklch(71.97% 0.186 320.4)
XYZxyz(49.7344, 33.8802, 82.5009)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778EB #8CEB78
analogous
#9D78EB #D778EB #EB78C6
triadic
#D778EB #EBD778 #78EBD7
tetradic
#D778EB #EB9D78 #8CEB78 #78C6EB
square
#D778EB #EB9D78 #8CEB78 #78C6EB
split-complementary
#D778EB #C6EB78 #78EB9D
monochromatic
#AD1ECB #C743E3 #D778EB #E7ADF3 #F7E3FB

Accessibility & contrast

On white

2.70
#D778EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D778EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778EB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778EB#FFFFFF#000000##000000
##D778EB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#D887A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d778eb;
/* rgb */ color: rgb(215, 120, 235);
/* oklch */ color: oklch(72.0% 0.186 320.4);
Tailwind
colors: {
  custom: {
    50: '#e5a2f2',
    500: '#d778eb',
    950: '#000000',
  },
}
SCSS
$custom: #d778eb;
$custom-light: #e5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d778eb",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 289.565,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.18639,
    "h": 320.4
  },
  "luminance": 0.33878
}

Semantic roles & 50–950 ramp

primary
#D778EB
secondary
#D5F0CF
accent
#D60F32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778EB

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

Preview Lab → · Contrast checker → · Palette generator →

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