#D378ED#D378ED

#D378ED is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.186 H 318.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D378ED
RGBrgb(211, 120, 237)
HSLhsl(287, 76%, 70%)
HSVhsv(287, 49%, 93%)
CMYKcmyk(11%, 49.4%, 0%, 7.1%)
CIE-LABlab(64.48, 53.64, -44.65)
CIE-LCHlch(64.48, 69.80, 320.23°)
OKLaboklab(71.61% 0.1394 -0.1238)
OKLCHoklch(71.61% 0.186 318.4)
XYZxyz(48.8644, 33.3980, 83.9768)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378ED #92ED78
analogous
#9978ED #D378ED #ED78CC
triadic
#D378ED #EDD378 #78EDD3
tetradic
#D378ED #ED9978 #92ED78 #78CCED
square
#D378ED #ED9978 #92ED78 #78CCED
split-complementary
#D378ED #CCED78 #78ED99
monochromatic
#A71CCF #C142E6 #D378ED #E5AEF4 #F6E4FB

Accessibility & contrast

On white

2.73
#D378ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D378ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378ED
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378ED#FFFFFF#000000##000000
##D378ED1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#7E9FEA
Tritanopia (blue-blind)
#D389A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d378ed;
/* rgb */ color: rgb(211, 120, 237);
/* oklch */ color: oklch(71.6% 0.186 318.4);
Tailwind
colors: {
  custom: {
    50: '#e3a2f3',
    500: '#d378ed',
    950: '#000000',
  },
}
SCSS
$custom: #d378ed;
$custom-light: #e3a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d378ed",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 286.667,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.71609,
    "c": 0.18642,
    "h": 318.4
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

primary
#D378ED
secondary
#D7F1D0
accent
#D90D3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D378ED

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

Preview Lab → · Contrast checker → · Palette generator →

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