#D278CB#D278CB

#D278CB is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.9% C 0.153 H 329.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D278CB
RGBrgb(210, 120, 203)
HSLhsl(305, 50%, 65%)
HSVhsv(305, 43%, 82%)
CMYKcmyk(0%, 42.9%, 3.3%, 17.6%)
CIE-LABlab(62.88, 46.99, -28.18)
CIE-LCHlch(62.88, 54.79, 329.05°)
OKLaboklab(69.91% 0.1324 -0.0766)
OKLCHoklch(69.91% 0.153 329.9)
XYZxyz(44.0738, 31.4487, 60.2370)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278CB #78D27F
analogous
#AC78D2 #D278CB #D2789E
triadic
#D278CB #CBD278 #78CBD2
tetradic
#D278CB #D2AC78 #78D27F #789ED2
square
#D278CB #D2AC78 #78D27F #789ED2
split-complementary
#D278CB #9ED278 #78D2AC
monochromatic
#9C3494 #C34AB9 #D278CB #E1A6DD #F1D4EE

Accessibility & contrast

On white

2.88
#D278CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D278CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278CB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278CB#FFFFFF#000000##000000
##D278CB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CE
Deuteranopia (green-blind)
#8C9DC8
Tritanopia (blue-blind)
#D87F98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d278cb;
/* rgb */ color: rgb(210, 120, 203);
/* oklch */ color: oklch(69.9% 0.153 329.9);
Tailwind
colors: {
  custom: {
    50: '#e1a1db',
    500: '#d278cb',
    950: '#000000',
  },
}
SCSS
$custom: #d278cb;
$custom-light: #e1a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d278cb",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 304.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.15296,
    "h": 329.9
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#D278CB
secondary
#C3E2C6
accent
#BD3428
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#150F15
muted
#847F83

Preview Lab

Preview with #D278CB

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

Preview Lab → · Contrast checker → · Palette generator →

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