#D278CA#D278CA

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

Color values

HEX#D278CA
RGBrgb(210, 120, 202)
HSLhsl(305, 50%, 65%)
HSVhsv(305, 43%, 82%)
CMYKcmyk(0%, 42.9%, 3.8%, 17.6%)
CIE-LABlab(62.84, 46.81, -27.67)
CIE-LCHlch(62.84, 54.38, 329.41°)
OKLaboklab(69.87% 0.1322 -0.0752)
OKLCHoklch(69.87% 0.152 330.4)
XYZxyz(43.9550, 31.4012, 59.6115)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278CA #78D280
analogous
#AD78D2 #D278CA #D2789D
triadic
#D278CA #CAD278 #78CAD2
tetradic
#D278CA #D2AD78 #78D280 #789DD2
square
#D278CA #D2AD78 #78D280 #789DD2
split-complementary
#D278CA #9DD278 #78D2AD
monochromatic
#9C3492 #C34AB8 #D278CA #E1A6DC #F1D4EE

Accessibility & contrast

On white

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

On black

7.28
#D278CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278CA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278CA#FFFFFF#000000##000000
##D278CA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d278ca;
/* rgb */ color: rgb(210, 120, 202);
/* oklch */ color: oklch(69.9% 0.152 330.4);
Tailwind
colors: {
  custom: {
    50: '#e1a1da',
    500: '#d278ca',
    950: '#000000',
  },
}
SCSS
$custom: #d278ca;
$custom-light: #e1a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d278ca",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 305.333,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69868,
    "c": 0.15206,
    "h": 330.4
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#D278CA
secondary
#C3E2C6
accent
#BD3528
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#150F15
muted
#847F83

Preview Lab

Preview with #D278CA

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

Preview Lab → · Contrast checker → · Palette generator →

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