#D278DB#D278DB

#D278DB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.168 H 323.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D278DB
RGBrgb(210, 120, 219)
HSLhsl(295, 58%, 66%)
HSVhsv(295, 45%, 86%)
CMYKcmyk(4.1%, 45.2%, 0%, 14.1%)
CIE-LABlab(63.55, 49.90, -36.12)
CIE-LCHlch(63.55, 61.60, 324.11°)
OKLaboklab(70.63% 0.1355 -0.0993)
OKLCHoklch(70.63% 0.168 323.8)
XYZxyz(46.0798, 32.2511, 70.8019)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278DB #81DB78
analogous
#A178DB #D278DB #DB78B3
triadic
#D278DB #DBD278 #78DBD2
tetradic
#D278DB #DBA178 #81DB78 #78B3DB
square
#D278DB #DBA178 #81DB78 #78B3DB
split-complementary
#D278DB #B3DB78 #78DBA1
monochromatic
#A02EAB #C248CE #D278DB #E2A8E8 #F2D9F5

Accessibility & contrast

On white

2.82
#D278DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D278DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278DB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278DB#FFFFFF#000000##000000
##D278DB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#D5849F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d278db;
/* rgb */ color: rgb(210, 120, 219);
/* oklch */ color: oklch(70.6% 0.168 323.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1e6',
    500: '#d278db',
    950: '#000000',
  },
}
SCSS
$custom: #d278db;
$custom-light: #e2a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d278db",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 294.545,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70626,
    "c": 0.16798,
    "h": 323.8
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

primary
#D278DB
secondary
#CAE7C7
accent
#C5202F
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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