#D778DB#D778DB

#D778DB is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.171 H 325.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D778DB
RGBrgb(215, 120, 219)
HSLhsl(298, 58%, 66%)
HSVhsv(298, 45%, 86%)
CMYKcmyk(1.8%, 45.2%, 0%, 14.1%)
CIE-LABlab(64.16, 51.35, -35.12)
CIE-LCHlch(64.16, 62.21, 325.63°)
OKLaboklab(71.21% 0.1412 -0.0963)
OKLCHoklch(71.21% 0.171 325.7)
XYZxyz(47.5259, 32.9968, 70.8697)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778DB #7CDB78
analogous
#A678DB #D778DB #DB78AE
triadic
#D778DB #DBD778 #78DBD7
tetradic
#D778DB #DBA678 #7CDB78 #78AEDB
square
#D778DB #DBA678 #7CDB78 #78AEDB
split-complementary
#D778DB #AEDB78 #78DBA6
monochromatic
#A62EAB #C948CE #D778DB #E5A8E8 #F4D9F5

Accessibility & contrast

On white

2.76
#D778DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D778DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778DB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778DB#FFFFFF#000000##000000
##D778DB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#DC839F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d778db;
/* rgb */ color: rgb(215, 120, 219);
/* oklch */ color: oklch(71.2% 0.171 325.7);
Tailwind
colors: {
  custom: {
    50: '#e5a2e6',
    500: '#d778db',
    950: '#000000',
  },
}
SCSS
$custom: #d778db;
$custom-light: #e5a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d778db",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 297.576,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71209,
    "c": 0.17095,
    "h": 325.7
  },
  "luminance": 0.32994
}

Semantic roles & 50–950 ramp

primary
#D778DB
secondary
#C9E7C7
accent
#C52027
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D778DB

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

Preview Lab → · Contrast checker → · Palette generator →

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