#D378FE#D378FE

#D378FE is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.5% C 0.204 H 313.8°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D378FE
RGBrgb(211, 120, 254)
HSLhsl(281, 99%, 73%)
HSVhsv(281, 53%, 100%)
CMYKcmyk(16.9%, 52.8%, 0%, 0.4%)
CIE-LABlab(65.31, 57.06, -52.70)
CIE-LCHlch(65.31, 77.68, 317.27°)
OKLaboklab(72.49% 0.1411 -0.1472)
OKLCHoklch(72.49% 0.204 313.8)
XYZxyz(51.4669, 34.4390, 97.6829)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378FE #A3FE78
analogous
#9078FE #D378FE #FE78E6
triadic
#D378FE #FED378 #78FED3
tetradic
#D378FE #FE9078 #A3FE78 #78E6FE
square
#D378FE #FE9078 #A3FE78 #78E6FE
split-complementary
#D378FE #E6FE78 #78FE90
monochromatic
#AA02FA #BF3BFE #D378FE #E7B5FE #F5E1FF

Accessibility & contrast

On white

2.66
#D378FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D378FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378FE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378FE#FFFFFF#000000##000000
##D378FE1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#CF8EB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d378fe;
/* rgb */ color: rgb(211, 120, 254);
/* oklch */ color: oklch(72.5% 0.204 313.8);
Tailwind
colors: {
  custom: {
    50: '#e3a2ff',
    500: '#d378fe',
    950: '#000000',
  },
}
SCSS
$custom: #d378fe;
$custom-light: #e3a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d378fe",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 280.746,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7249,
    "c": 0.20387,
    "h": 313.8
  },
  "luminance": 0.34438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D378FE

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

Preview Lab → · Contrast checker → · Palette generator →

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