#D078FB#D078FB

#D078FB is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.200 H 313.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D078FB
RGBrgb(208, 120, 251)
HSLhsl(280, 94%, 73%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(17.1%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.81, 55.68, -51.87)
CIE-LCHlch(64.81, 76.10, 317.03°)
OKLaboklab(72% 0.1373 -0.1448)
OKLCHoklch(72% 0.2 313.5)
XYZxyz(50.1386, 33.8092, 95.1327)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D078FB #A3FB78
analogous
#8E78FB #D078FB #FB78E5
triadic
#D078FB #FBD078 #78FBD0
tetradic
#D078FB #FB8E78 #A3FB78 #78E5FB
square
#D078FB #FB8E78 #A3FB78 #78E5FB
split-complementary
#D078FB #E5FB78 #78FB8E
monochromatic
#A507F1 #BB3DF9 #D078FB #E5B3FD #F5E1FE

Accessibility & contrast

On white

2.71
#D078FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D078FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D078FB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D078FB#FFFFFF#000000##000000
##D078FB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#749FF8
Tritanopia (blue-blind)
#CC8DAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d078fb;
/* rgb */ color: rgb(208, 120, 251);
/* oklch */ color: oklch(72.0% 0.200 313.5);
Tailwind
colors: {
  custom: {
    50: '#e1a2fd',
    500: '#d078fb',
    950: '#000000',
  },
}
SCSS
$custom: #d078fb;
$custom-light: #e1a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d078fb",
  "rgb": {
    "r": 208,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 280.305,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71997,
    "c": 0.19957,
    "h": 313.5
  },
  "luminance": 0.33808
}

Semantic roles & 50–950 ramp

primary
#D078FB
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D078FB

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

Preview Lab → · Contrast checker → · Palette generator →

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