#D278EA#D278EA

#D278EA is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.183 H 318.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D278EA
RGBrgb(210, 120, 234)
HSLhsl(287, 73%, 69%)
HSVhsv(287, 49%, 92%)
CMYKcmyk(10.3%, 48.7%, 0%, 8.2%)
CIE-LABlab(64.22, 52.78, -43.41)
CIE-LCHlch(64.22, 68.34, 320.57°)
OKLaboklab(71.35% 0.1378 -0.1202)
OKLCHoklch(71.35% 0.183 318.9)
XYZxyz(48.1441, 33.0768, 81.6744)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278EA #90EA78
analogous
#9978EA #D278EA #EA78C9
triadic
#D278EA #EAD278 #78EAD2
tetradic
#D278EA #EA9978 #90EA78 #78C9EA
square
#D278EA #EA9978 #90EA78 #78C9EA
split-complementary
#D278EA #C9EA78 #78EA99
monochromatic
#A51FC8 #C043E2 #D278EA #E4ADF2 #F5E2FA

Accessibility & contrast

On white

2.76
#D278EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D278EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278EA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278EA#FFFFFF#000000##000000
##D278EA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#D288A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d278ea;
/* rgb */ color: rgb(210, 120, 234);
/* oklch */ color: oklch(71.3% 0.183 318.9);
Tailwind
colors: {
  custom: {
    50: '#e2a2f1',
    500: '#d278ea',
    950: '#000000',
  },
}
SCSS
$custom: #d278ea;
$custom-light: #e2a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d278ea",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 287.368,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71346,
    "c": 0.1829,
    "h": 318.9
  },
  "luminance": 0.33075
}

Semantic roles & 50–950 ramp

primary
#D278EA
secondary
#D5EFCE
accent
#D5103A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D278EA

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

Preview Lab → · Contrast checker → · Palette generator →

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