#D778EC#D778EC

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

Color values

HEX#D778EC
RGBrgb(215, 120, 236)
HSLhsl(289, 75%, 70%)
HSVhsv(289, 49%, 93%)
CMYKcmyk(8.9%, 49.2%, 0%, 7.5%)
CIE-LABlab(64.91, 54.54, -43.39)
CIE-LCHlch(64.91, 69.69, 321.50°)
OKLaboklab(72.02% 0.1438 -0.1201)
OKLCHoklch(72.02% 0.187 320.1)
XYZxyz(49.8793, 33.9381, 83.2639)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778EC #8DEC78
analogous
#9D78EC #D778EC #EC78C7
triadic
#D778EC #ECD778 #78ECD7
tetradic
#D778EC #EC9D78 #8DEC78 #78C7EC
square
#D778EC #EC9D78 #8DEC78 #78C7EC
split-complementary
#D778EC #C7EC78 #78EC9D
monochromatic
#AD1DCD #C742E4 #D778EC #E7AEF4 #F7E3FB

Accessibility & contrast

On white

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

On black

7.79
#D778EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778EC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778EC#FFFFFF#000000##000000
##D778EC1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#D888A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d778ec;
/* rgb */ color: rgb(215, 120, 236);
/* oklch */ color: oklch(72.0% 0.187 320.1);
Tailwind
colors: {
  custom: {
    50: '#e5a2f2',
    500: '#d778ec',
    950: '#000000',
  },
}
SCSS
$custom: #d778ec;
$custom-light: #e5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ec",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 289.138,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.18737,
    "h": 320.1
  },
  "luminance": 0.33936
}

Semantic roles & 50–950 ramp

primary
#D778EC
secondary
#D5F0D0
accent
#D70E32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778EC

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

Preview Lab → · Contrast checker → · Palette generator →

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