#D78CFD#D78CFD

#D78CFD is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.8% C 0.173 H 313.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D78CFD
RGBrgb(215, 140, 253)
HSLhsl(280, 97%, 77%)
HSVhsv(280, 45%, 99%)
CMYKcmyk(15%, 44.7%, 0%, 0.8%)
CIE-LABlab(69.68, 47.67, -45.23)
CIE-LCHlch(69.68, 65.72, 316.50°)
OKLaboklab(75.82% 0.119 -0.1255)
OKLCHoklch(75.82% 0.173 313.5)
XYZxyz(55.1291, 40.2963, 97.7833)
Luminance0.4029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D78CFD #B2FD8C
analogous
#9F8CFD #D78CFD #FD8CEB
triadic
#D78CFD #FDD78C #8CFDD7
tetradic
#D78CFD #FD9F8C #B2FD8C #8CEBFD
square
#D78CFD #FD9F8C #B2FD8C #8CEBFD
split-complementary
#D78CFD #EBFD8C #8CFD9F
monochromatic
#AD14FB #C250FC #D78CFD #ECC8FE #F5E1FE

Accessibility & contrast

On white

2.32
#D78CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#D78CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D78CFD
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D78CFD#FFFFFF#000000##000000
##D78CFD1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#D49DB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d78cfd;
/* rgb */ color: rgb(215, 140, 253);
/* oklch */ color: oklch(75.8% 0.173 313.5);
Tailwind
colors: {
  custom: {
    50: '#e5affe',
    500: '#d78cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d78cfd;
$custom-light: #e5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#d78cfd",
  "rgb": {
    "r": 215,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 279.823,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.17296,
    "h": 313.5
  },
  "luminance": 0.40295
}

Semantic roles & 50–950 ramp

primary
#D78CFD
secondary
#E0F7D4
accent
#E6004D
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D78CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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