#D378FB#D378FB

#D378FB is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.3% C 0.201 H 314.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D378FB
RGBrgb(211, 120, 251)
HSLhsl(282, 94%, 73%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(15.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(65.16, 56.45, -51.30)
CIE-LCHlch(65.16, 76.28, 317.74°)
OKLaboklab(72.33% 0.1408 -0.1431)
OKLCHoklch(72.33% 0.201 314.5)
XYZxyz(50.9902, 34.2483, 95.1726)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D378FB #A0FB78
analogous
#9178FB #D378FB #FB78E2
triadic
#D378FB #FBD378 #78FBD3
tetradic
#D378FB #FB9178 #A0FB78 #78E2FB
square
#D378FB #FB9178 #A0FB78 #78E2FB
split-complementary
#D378FB #E2FB78 #78FB91
monochromatic
#AA07F1 #C03DF9 #D378FB #E6B3FD #F5E1FE

Accessibility & contrast

On white

2.68
#D378FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D378FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D378FB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D378FB#FFFFFF#000000##000000
##D378FB1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#D08DAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d378fb;
/* rgb */ color: rgb(211, 120, 251);
/* oklch */ color: oklch(72.3% 0.201 314.5);
Tailwind
colors: {
  custom: {
    50: '#e3a2fd',
    500: '#d378fb',
    950: '#000000',
  },
}
SCSS
$custom: #d378fb;
$custom-light: #e3a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d378fb",
  "rgb": {
    "r": 211,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 281.679,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7233,
    "c": 0.20077,
    "h": 314.5
  },
  "luminance": 0.34247
}

Semantic roles & 50–950 ramp

primary
#D378FB
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D378FB

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

Preview Lab → · Contrast checker → · Palette generator →

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