#D278E8#D278E8

#D278E8 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.181 H 319.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D278E8
RGBrgb(210, 120, 232)
HSLhsl(288, 71%, 69%)
HSVhsv(288, 48%, 91%)
CMYKcmyk(9.5%, 48.3%, 0%, 9%)
CIE-LABlab(64.13, 52.39, -42.44)
CIE-LCHlch(64.13, 67.42, 320.99°)
OKLaboklab(71.25% 0.1375 -0.1175)
OKLCHoklch(71.25% 0.181 319.5)
XYZxyz(47.8584, 32.9626, 80.1697)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278E8 #8EE878
analogous
#9A78E8 #D278E8 #E878C6
triadic
#D278E8 #E8D278 #78E8D2
tetradic
#D278E8 #E89A78 #8EE878 #78C6E8
square
#D278E8 #E89A78 #8EE878 #78C6E8
split-complementary
#D278E8 #C6E878 #78E89A
monochromatic
#A421C4 #C144DF #D278E8 #E3ACF1 #F5E1FA

Accessibility & contrast

On white

2.77
#D278E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D278E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278E8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278E8#FFFFFF#000000##000000
##D278E81.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#D387A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d278e8;
/* rgb */ color: rgb(210, 120, 232);
/* oklch */ color: oklch(71.2% 0.181 319.5);
Tailwind
colors: {
  custom: {
    50: '#e2a2f0',
    500: '#d278e8',
    950: '#000000',
  },
}
SCSS
$custom: #d278e8;
$custom-light: #e2a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d278e8",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 288.214,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.18087,
    "h": 319.5
  },
  "luminance": 0.32961
}

Semantic roles & 50–950 ramp

primary
#D278E8
secondary
#D4EECD
accent
#D31338
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D278E8

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

Preview Lab → · Contrast checker → · Palette generator →

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