#D278FA#D278FA

#D278FA is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.2% C 0.199 H 314.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D278FA
RGBrgb(210, 120, 250)
HSLhsl(282, 93%, 73%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(16%, 52%, 0%, 2%)
CIE-LABlab(64.99, 55.99, -51.02)
CIE-LCHlch(64.99, 75.75, 317.66°)
OKLaboklab(72.17% 0.1396 -0.1423)
OKLCHoklch(72.17% 0.199 314.4)
XYZxyz(50.5473, 34.0381, 94.3312)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278FA #A0FA78
analogous
#9178FA #D278FA #FA78E1
triadic
#D278FA #FAD278 #78FAD2
tetradic
#D278FA #FA9178 #A0FA78 #78E1FA
square
#D278FA #FA9178 #A0FA78 #78E1FA
split-complementary
#D278FA #E1FA78 #78FA91
monochromatic
#A809EF #BE3DF8 #D278FA #E6B3FC #F5E1FE

Accessibility & contrast

On white

2.69
#D278FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D278FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278FA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278FA#FFFFFF#000000##000000
##D278FA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#CF8DAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d278fa;
/* rgb */ color: rgb(210, 120, 250);
/* oklch */ color: oklch(72.2% 0.199 314.4);
Tailwind
colors: {
  custom: {
    50: '#e2a2fc',
    500: '#d278fa',
    950: '#000000',
  },
}
SCSS
$custom: #d278fa;
$custom-light: #e2a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d278fa",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 281.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72166,
    "c": 0.19932,
    "h": 314.4
  },
  "luminance": 0.34037
}

Semantic roles & 50–950 ramp

primary
#D278FA
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D278FA

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

Preview Lab → · Contrast checker → · Palette generator →

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