#D789FD#D789FD

#D789FD is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.178 H 313.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D789FD
RGBrgb(215, 137, 253)
HSLhsl(280, 97%, 76%)
HSVhsv(280, 46%, 99%)
CMYKcmyk(15%, 45.8%, 0%, 0.8%)
CIE-LABlab(69.06, 49.24, -46.20)
CIE-LCHlch(69.06, 67.52, 316.82°)
OKLaboklab(75.36% 0.1231 -0.1283)
OKLCHoklch(75.36% 0.178 313.8)
XYZxyz(54.6967, 39.4315, 97.6392)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D789FD #AFFD89
analogous
#9D89FD #D789FD #FD89E9
triadic
#D789FD #FDD789 #89FDD7
tetradic
#D789FD #FD9D89 #AFFD89 #89E9FD
square
#D789FD #FD9D89 #AFFD89 #89E9FD
split-complementary
#D789FD #E9FD89 #89FD9D
monochromatic
#AE11FB #C34DFC #D789FD #EBC5FE #F5E1FE

Accessibility & contrast

On white

2.36
#D789FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#D789FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D789FD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D789FD#FFFFFF#000000##000000
##D789FD1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#D49AB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d789fd;
/* rgb */ color: rgb(215, 137, 253);
/* oklch */ color: oklch(75.4% 0.178 313.8);
Tailwind
colors: {
  custom: {
    50: '#e5adfe',
    500: '#d789fd',
    950: '#000000',
  },
}
SCSS
$custom: #d789fd;
$custom-light: #e5adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d789fd",
  "rgb": {
    "r": 215,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 280.345,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75355,
    "c": 0.17781,
    "h": 313.8
  },
  "luminance": 0.3943
}

Semantic roles & 50–950 ramp

primary
#D789FD
secondary
#E0F7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D789FD

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

Preview Lab → · Contrast checker → · Palette generator →

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