#DD78F2#DD78F2

#DD78F2 is a light, vivid purple. Relative luminance 0.352; OKLCH L 73.0% C 0.196 H 320.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DD78F2
RGBrgb(221, 120, 242)
HSLhsl(290, 82%, 71%)
HSVhsv(290, 50%, 95%)
CMYKcmyk(8.7%, 50.4%, 0%, 5.1%)
CIE-LABlab(65.92, 57.31, -45.07)
CIE-LCHlch(65.92, 72.91, 321.82°)
OKLaboklab(73.01% 0.1515 -0.1248)
OKLCHoklch(73.01% 0.196 320.5)
XYZxyz(52.5604, 35.2181, 88.0163)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD78F2 #8DF278
analogous
#A078F2 #DD78F2 #F278CA
triadic
#DD78F2 #F2DD78 #78F2DD
tetradic
#DD78F2 #F2A078 #8DF278 #78CAF2
square
#DD78F2 #F2A078 #8DF278 #78CAF2
split-complementary
#DD78F2 #CAF278 #78F2A0
monochromatic
#B915DB #CF40ED #DD78F2 #EBB0F7 #F8E3FC

Accessibility & contrast

On white

2.61
#DD78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DD78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD78F2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD78F2#FFFFFF#000000##000000
##DD78F21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#DF89AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dd78f2;
/* rgb */ color: rgb(221, 120, 242);
/* oklch */ color: oklch(73.0% 0.196 320.5);
Tailwind
colors: {
  custom: {
    50: '#eaa2f7',
    500: '#dd78f2',
    950: '#000000',
  },
}
SCSS
$custom: #dd78f2;
$custom-light: #eaa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd78f2",
  "rgb": {
    "r": 221,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 289.672,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73006,
    "c": 0.19627,
    "h": 320.5
  },
  "luminance": 0.35216
}

Semantic roles & 50–950 ramp

primary
#DD78F2
secondary
#D8F3D3
accent
#DF072C
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DD78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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