#D378FD#D378FD

#D378FD is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.4% C 0.203 H 314.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D378FD
RGBrgb(211, 120, 253)
HSLhsl(281, 97%, 73%)
HSVhsv(281, 53%, 99%)
CMYKcmyk(16.6%, 52.6%, 0%, 0.8%)
CIE-LABlab(65.26, 56.86, -52.24)
CIE-LCHlch(65.26, 77.21, 317.43°)
OKLaboklab(72.44% 0.141 -0.1458)
OKLCHoklch(72.44% 0.203 314)
XYZxyz(51.3071, 34.3751, 96.8418)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378FD #A2FD78
analogous
#9078FD #D378FD #FD78E4
triadic
#D378FD #FDD378 #78FDD3
tetradic
#D378FD #FD9078 #A2FD78 #78E4FD
square
#D378FD #FD9078 #A2FD78 #78E4FD
split-complementary
#D378FD #E4FD78 #78FD90
monochromatic
#AA04F7 #BF3CFC #D378FD #E7B4FE #F5E1FF

Accessibility & contrast

On white

2.67
#D378FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D378FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378FD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378FD#FFFFFF#000000##000000
##D378FD1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#D08EB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d378fd;
/* rgb */ color: rgb(211, 120, 253);
/* oklch */ color: oklch(72.4% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#e3a2fe',
    500: '#d378fd',
    950: '#000000',
  },
}
SCSS
$custom: #d378fd;
$custom-light: #e3a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d378fd",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 281.053,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72436,
    "c": 0.20283,
    "h": 314
  },
  "luminance": 0.34374
}

Semantic roles & 50–950 ramp

primary
#D378FD
secondary
#DFF7D4
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D378FD

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

Preview Lab → · Contrast checker → · Palette generator →

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