#D378EF#D378EF

#D378EF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.188 H 317.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D378EF
RGBrgb(211, 120, 239)
HSLhsl(286, 79%, 70%)
HSVhsv(286, 50%, 94%)
CMYKcmyk(11.7%, 49.8%, 0%, 6.3%)
CIE-LABlab(64.58, 54.04, -45.61)
CIE-LCHlch(64.58, 70.71, 319.84°)
OKLaboklab(71.71% 0.1396 -0.1266)
OKLCHoklch(71.71% 0.188 317.8)
XYZxyz(49.1583, 33.5155, 85.5243)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378EF #94EF78
analogous
#9778EF #D378EF #EF78D0
triadic
#D378EF #EFD378 #78EFD3
tetradic
#D378EF #EF9778 #94EF78 #78D0EF
square
#D378EF #EF9778 #94EF78 #78D0EF
split-complementary
#D378EF #D0EF78 #78EF97
monochromatic
#A819D4 #C141E9 #D378EF #E5AFF5 #F6E4FC

Accessibility & contrast

On white

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

On black

7.70
#D378EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378EF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378EF#FFFFFF#000000##000000
##D378EF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#D389A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d378ef;
/* rgb */ color: rgb(211, 120, 239);
/* oklch */ color: oklch(71.7% 0.188 317.8);
Tailwind
colors: {
  custom: {
    50: '#e3a2f4',
    500: '#d378ef',
    950: '#000000',
  },
}
SCSS
$custom: #d378ef;
$custom-light: #e3a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d378ef",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 285.882,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.18845,
    "h": 317.8
  },
  "luminance": 0.33514
}

Semantic roles & 50–950 ramp

primary
#D378EF
secondary
#D9F2D1
accent
#DB0A3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D378EF

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

Preview Lab → · Contrast checker → · Palette generator →

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