#D278CF#D278CF

#D278CF is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.157 H 328.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D278CF
RGBrgb(210, 120, 207)
HSLhsl(302, 50%, 65%)
HSVhsv(302, 43%, 82%)
CMYKcmyk(0%, 42.9%, 1.4%, 17.6%)
CIE-LABlab(63.05, 47.70, -30.18)
CIE-LCHlch(63.05, 56.44, 327.68°)
OKLaboklab(70.08% 0.1332 -0.0823)
OKLCHoklch(70.08% 0.157 328.3)
XYZxyz(44.5566, 31.6418, 62.7799)
Luminance0.3164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278CF #78D27B
analogous
#A878D2 #D278CF #D278A2
triadic
#D278CF #CFD278 #78CFD2
tetradic
#D278CF #D2A878 #78D27B #78A2D2
square
#D278CF #D2A878 #78D27B #78A2D2
split-complementary
#D278CF #A2D278 #78D2A8
monochromatic
#9C3498 #C34ABF #D278CF #E1A6DF #F1D4F0

Accessibility & contrast

On white

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

On black

7.33
#D278CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278CF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278CF#FFFFFF#000000##000000
##D278CF1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#8A9DCC
Tritanopia (blue-blind)
#D8809A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d278cf;
/* rgb */ color: rgb(210, 120, 207);
/* oklch */ color: oklch(70.1% 0.157 328.3);
Tailwind
colors: {
  custom: {
    50: '#e1a1de',
    500: '#d278cf',
    950: '#000000',
  },
}
SCSS
$custom: #d278cf;
$custom-light: #e1a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#d278cf",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 302,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.15661,
    "h": 328.3
  },
  "luminance": 0.3164
}

Semantic roles & 50–950 ramp

primary
#D278CF
secondary
#C3E2C4
accent
#BD2D28
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D278CF

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

Preview Lab → · Contrast checker → · Palette generator →

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