#DA78FB#DA78FB

#DA78FB is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.1% C 0.204 H 317.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#DA78FB
RGBrgb(218, 120, 251)
HSLhsl(285, 94%, 73%)
HSVhsv(285, 52%, 98%)
CMYKcmyk(13.1%, 52.2%, 0%, 1.6%)
CIE-LABlab(65.99, 58.26, -49.94)
CIE-LCHlch(65.99, 76.73, 319.40°)
OKLaboklab(73.12% 0.149 -0.139)
OKLCHoklch(73.12% 0.204 317)
XYZxyz(53.0400, 35.3052, 95.2687)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA78FB #99FB78
analogous
#9878FB #DA78FB #FB78DB
triadic
#DA78FB #FBDA78 #78FBDA
tetradic
#DA78FB #FB9878 #99FB78 #78DBFB
square
#DA78FB #FB9878 #99FB78 #78DBFB
split-complementary
#DA78FB #DBFB78 #78FB98
monochromatic
#B607F1 #CA3DF9 #DA78FB #EAB3FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.06
#DA78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA78FB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA78FB#FFFFFF#000000##000000
##DA78FB1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#D98CAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da78fb;
/* rgb */ color: rgb(218, 120, 251);
/* oklch */ color: oklch(73.1% 0.204 317.0);
Tailwind
colors: {
  custom: {
    50: '#e8a2fd',
    500: '#da78fb',
    950: '#000000',
  },
}
SCSS
$custom: #da78fb;
$custom-light: #e8a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da78fb",
  "rgb": {
    "r": 218,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 284.885,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73118,
    "c": 0.20373,
    "h": 317
  },
  "luminance": 0.35303
}

Semantic roles & 50–950 ramp

primary
#DA78FB
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DA78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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