#D278CD#D278CD

#D278CD is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.155 H 329.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D278CD
RGBrgb(210, 120, 205)
HSLhsl(303, 50%, 65%)
HSVhsv(303, 43%, 82%)
CMYKcmyk(0%, 42.9%, 2.4%, 17.6%)
CIE-LABlab(62.96, 47.34, -29.18)
CIE-LCHlch(62.96, 55.61, 328.35°)
OKLaboklab(70% 0.1328 -0.0795)
OKLCHoklch(70% 0.155 329.1)
XYZxyz(44.3136, 31.5446, 61.5003)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278CD #78D27D
analogous
#AA78D2 #D278CD #D278A0
triadic
#D278CD #CDD278 #78CDD2
tetradic
#D278CD #D2AA78 #78D27D #78A0D2
square
#D278CD #D2AA78 #78D27D #78A0D2
split-complementary
#D278CD #A0D278 #78D2AA
monochromatic
#9C3496 #C34ABC #D278CD #E1A6DE #F1D4EF

Accessibility & contrast

On white

2.87
#D278CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D278CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278CD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278CD#FFFFFF#000000##000000
##D278CD1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8B9DCA
Tritanopia (blue-blind)
#D88099
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d278cd;
/* rgb */ color: rgb(210, 120, 205);
/* oklch */ color: oklch(70.0% 0.155 329.1);
Tailwind
colors: {
  custom: {
    50: '#e1a1dc',
    500: '#d278cd',
    950: '#000000',
  },
}
SCSS
$custom: #d278cd;
$custom-light: #e1a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d278cd",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 303.333,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.15478,
    "h": 329.1
  },
  "luminance": 0.31542
}

Semantic roles & 50–950 ramp

primary
#D278CD
secondary
#C3E2C5
accent
#BD3028
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D278CD

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

Preview Lab → · Contrast checker → · Palette generator →

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