#D178DB#D178DB

#D178DB is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.167 H 323.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D178DB
RGBrgb(209, 120, 219)
HSLhsl(294, 58%, 66%)
HSVhsv(294, 45%, 86%)
CMYKcmyk(4.6%, 45.2%, 0%, 14.1%)
CIE-LABlab(63.43, 49.61, -36.31)
CIE-LCHlch(63.43, 61.48, 323.80°)
OKLaboklab(70.51% 0.1344 -0.0998)
OKLCHoklch(70.51% 0.167 323.4)
XYZxyz(45.7959, 32.1047, 70.7886)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178DB #82DB78
analogous
#A078DB #D178DB #DB78B4
triadic
#D178DB #DBD178 #78DBD1
tetradic
#D178DB #DBA078 #82DB78 #78B4DB
square
#D178DB #DBA078 #82DB78 #78B4DB
split-complementary
#D178DB #B4DB78 #78DBA0
monochromatic
#9E2EAB #C148CE #D178DB #E1A8E8 #F2D9F5

Accessibility & contrast

On white

2.83
#D178DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D178DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178DB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178DB#FFFFFF#000000##000000
##D178DB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#D4849F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d178db;
/* rgb */ color: rgb(209, 120, 219);
/* oklch */ color: oklch(70.5% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#e1a1e6',
    500: '#d178db',
    950: '#000000',
  },
}
SCSS
$custom: #d178db;
$custom-light: #e1a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d178db",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 293.939,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7051,
    "c": 0.16741,
    "h": 323.4
  },
  "luminance": 0.32103
}

Semantic roles & 50–950 ramp

primary
#D178DB
secondary
#CBE7C7
accent
#C52031
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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