#DF78F2#DF78F2

#DF78F2 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.2% C 0.197 H 321.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#DF78F2
RGBrgb(223, 120, 242)
HSLhsl(291, 82%, 71%)
HSVhsv(291, 50%, 95%)
CMYKcmyk(7.9%, 50.4%, 0%, 5.1%)
CIE-LABlab(66.16, 57.84, -44.67)
CIE-LCHlch(66.16, 73.08, 322.32°)
OKLaboklab(73.24% 0.1538 -0.1236)
OKLCHoklch(73.24% 0.197 321.2)
XYZxyz(53.1731, 35.5340, 88.0450)
Luminance0.3553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78F2 #8BF278
analogous
#A278F2 #DF78F2 #F278C8
triadic
#DF78F2 #F2DF78 #78F2DF
tetradic
#DF78F2 #F2A278 #8BF278 #78C8F2
square
#DF78F2 #F2A278 #8BF278 #78C8F2
split-complementary
#DF78F2 #C8F278 #78F2A2
monochromatic
#BC15DB #D240ED #DF78F2 #ECB0F7 #F8E3FC

Accessibility & contrast

On white

2.59
#DF78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#DF78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78F2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78F2#FFFFFF#000000##000000
##DF78F21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#E188AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df78f2;
/* rgb */ color: rgb(223, 120, 242);
/* oklch */ color: oklch(73.2% 0.197 321.2);
Tailwind
colors: {
  custom: {
    50: '#eba2f7',
    500: '#df78f2',
    950: '#000000',
  },
}
SCSS
$custom: #df78f2;
$custom-light: #eba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df78f2",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 290.656,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73238,
    "c": 0.19729,
    "h": 321.2
  },
  "luminance": 0.35532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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