#D278FD#D278FD

#D278FD is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.3% C 0.202 H 313.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D278FD
RGBrgb(210, 120, 253)
HSLhsl(281, 97%, 73%)
HSVhsv(281, 53%, 99%)
CMYKcmyk(17%, 52.6%, 0%, 0.8%)
CIE-LABlab(65.14, 56.60, -52.43)
CIE-LCHlch(65.14, 77.15, 317.19°)
OKLaboklab(72.32% 0.1398 -0.1464)
OKLCHoklch(72.32% 0.202 313.7)
XYZxyz(51.0215, 34.2278, 96.8284)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D278FD #A3FD78
analogous
#9078FD #D278FD #FD78E5
triadic
#D278FD #FDD278 #78FDD2
tetradic
#D278FD #FD9078 #A3FD78 #78E5FD
square
#D278FD #FD9078 #A3FD78 #78E5FD
split-complementary
#D278FD #E5FD78 #78FD90
monochromatic
#A804F7 #BE3CFC #D278FD #E6B4FE #F5E1FF

Accessibility & contrast

On white

2.68
#D278FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D278FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D278FD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D278FD#FFFFFF#000000##000000
##D278FD1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#74A0FA
Tritanopia (blue-blind)
#CE8EAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d278fd;
/* rgb */ color: rgb(210, 120, 253);
/* oklch */ color: oklch(72.3% 0.202 313.7);
Tailwind
colors: {
  custom: {
    50: '#e2a2fe',
    500: '#d278fd',
    950: '#000000',
  },
}
SCSS
$custom: #d278fd;
$custom-light: #e2a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d278fd",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 280.602,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72325,
    "c": 0.20244,
    "h": 313.7
  },
  "luminance": 0.34226
}

Semantic roles & 50–950 ramp

primary
#D278FD
secondary
#DFF7D4
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D278FD

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

Preview Lab → · Contrast checker → · Palette generator →

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