#D789FB#D789FB

#D789FB is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.3% C 0.176 H 314.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#D789FB
RGBrgb(215, 137, 251)
HSLhsl(281, 93%, 76%)
HSVhsv(281, 45%, 98%)
CMYKcmyk(14.3%, 45.4%, 0%, 1.6%)
CIE-LABlab(68.97, 48.83, -45.26)
CIE-LCHlch(68.97, 66.58, 317.17°)
OKLaboklab(75.26% 0.1228 -0.1256)
OKLCHoklch(75.26% 0.176 314.4)
XYZxyz(54.3798, 39.3048, 95.9700)
Luminance0.3930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D789FB #ADFB89
analogous
#9E89FB #D789FB #FB89E6
triadic
#D789FB #FBD789 #89FBD7
tetradic
#D789FB #FB9E89 #ADFB89 #89E6FB
square
#D789FB #FB9E89 #ADFB89 #89E6FB
split-complementary
#D789FB #E6FB89 #89FB9E
monochromatic
#AF13F7 #C34EF9 #D789FB #EBC4FD #F5E1FE

Accessibility & contrast

On white

2.37
#D789FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#D789FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D789FB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D789FB#FFFFFF#000000##000000
##D789FB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#88AAF8
Tritanopia (blue-blind)
#D49AB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d789fb;
/* rgb */ color: rgb(215, 137, 251);
/* oklch */ color: oklch(75.3% 0.176 314.4);
Tailwind
colors: {
  custom: {
    50: '#e5adfd',
    500: '#d789fb',
    950: '#000000',
  },
}
SCSS
$custom: #d789fb;
$custom-light: #e5adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d789fb",
  "rgb": {
    "r": 215,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 281.053,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75257,
    "c": 0.17564,
    "h": 314.4
  },
  "luminance": 0.39303
}

Semantic roles & 50–950 ramp

primary
#D789FB
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D789FB

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

Preview Lab → · Contrast checker → · Palette generator →

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