#D178FD#D178FD

#D178FD is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.2% C 0.202 H 313.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D178FD
RGBrgb(209, 120, 253)
HSLhsl(280, 97%, 73%)
HSVhsv(280, 53%, 99%)
CMYKcmyk(17.4%, 52.6%, 0%, 0.8%)
CIE-LABlab(65.03, 56.35, -52.62)
CIE-LCHlch(65.03, 77.10, 316.96°)
OKLaboklab(72.21% 0.1386 -0.147)
OKLCHoklch(72.21% 0.202 313.3)
XYZxyz(50.7376, 34.0814, 96.8151)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178FD #A4FD78
analogous
#8E78FD #D178FD #FD78E7
triadic
#D178FD #FDD178 #78FDD1
tetradic
#D178FD #FD8E78 #A4FD78 #78E7FD
square
#D178FD #FD8E78 #A4FD78 #78E7FD
split-complementary
#D178FD #E7FD78 #78FD8E
monochromatic
#A604F7 #BC3CFC #D178FD #E6B4FE #F5E1FF

Accessibility & contrast

On white

2.69
#D178FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D178FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178FD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178FD#FFFFFF#000000##000000
##D178FD1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#CD8EAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d178fd;
/* rgb */ color: rgb(209, 120, 253);
/* oklch */ color: oklch(72.2% 0.202 313.3);
Tailwind
colors: {
  custom: {
    50: '#e2a2fe',
    500: '#d178fd',
    950: '#000000',
  },
}
SCSS
$custom: #d178fd;
$custom-light: #e2a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d178fd",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 280.15,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72215,
    "c": 0.20205,
    "h": 313.3
  },
  "luminance": 0.3408
}

Semantic roles & 50–950 ramp

primary
#D178FD
secondary
#E0F7D4
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D178FD

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

Preview Lab → · Contrast checker → · Palette generator →

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