#D378DF#D378DF

#D378DF is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.172 H 322.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D378DF
RGBrgb(211, 120, 223)
HSLhsl(293, 62%, 67%)
HSVhsv(293, 46%, 87%)
CMYKcmyk(5.4%, 46.2%, 0%, 12.5%)
CIE-LABlab(63.85, 50.94, -37.88)
CIE-LCHlch(63.85, 63.48, 323.37°)
OKLaboklab(70.93% 0.1373 -0.1043)
OKLCHoklch(70.93% 0.172 322.8)
XYZxyz(46.8983, 32.6115, 73.6220)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378DF #84DF78
analogous
#A078DF #D378DF #DF78B7
triadic
#D378DF #DFD378 #78DFD3
tetradic
#D378DF #DFA078 #84DF78 #78B7DF
square
#D378DF #DFA078 #84DF78 #78B7DF
split-complementary
#D378DF #B7DF78 #78DFA0
monochromatic
#A22AB2 #C347D3 #D378DF #E3A9EB #F3DBF6

Accessibility & contrast

On white

2.79
#D378DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D378DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378DF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378DF#FFFFFF#000000##000000
##D378DF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E3
Deuteranopia (green-blind)
#859EDC
Tritanopia (blue-blind)
#D685A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d378df;
/* rgb */ color: rgb(211, 120, 223);
/* oklch */ color: oklch(70.9% 0.172 322.8);
Tailwind
colors: {
  custom: {
    50: '#e2a2e9',
    500: '#d378df',
    950: '#000000',
  },
}
SCSS
$custom: #d378df;
$custom-light: #e2a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d378df",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 293.01,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70929,
    "c": 0.17246,
    "h": 322.8
  },
  "luminance": 0.3261
}

Semantic roles & 50–950 ramp

primary
#D378DF
secondary
#CDEAC9
accent
#C91C30
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D378DF

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

Preview Lab → · Contrast checker → · Palette generator →

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