#D784FC#D784FC

#D784FC is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.6% C 0.185 H 314.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D784FC
RGBrgb(215, 132, 252)
HSLhsl(282, 95%, 75%)
HSVhsv(282, 48%, 99%)
CMYKcmyk(14.7%, 47.6%, 0%, 1.2%)
CIE-LABlab(68.01, 51.62, -47.32)
CIE-LCHlch(68.01, 70.03, 317.49°)
OKLaboklab(74.55% 0.1297 -0.1315)
OKLCHoklch(74.55% 0.185 314.6)
XYZxyz(53.8435, 37.9793, 96.5710)
Luminance0.3798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784FC #A9FC84
analogous
#9B84FC #D784FC #FC84E5
triadic
#D784FC #FCD784 #84FCD7
tetradic
#D784FC #FC9B84 #A9FC84 #84E5FC
square
#D784FC #FC9B84 #A9FC84 #84E5FC
split-complementary
#D784FC #E5FC84 #84FC9B
monochromatic
#B00DF9 #C448FB #D784FC #EAC0FD #F5E1FE

Accessibility & contrast

On white

2.44
#D784FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#D784FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784FC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784FC#FFFFFF#000000##000000
##D784FC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#D496B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d784fc;
/* rgb */ color: rgb(215, 132, 252);
/* oklch */ color: oklch(74.6% 0.185 314.6);
Tailwind
colors: {
  custom: {
    50: '#e5aafe',
    500: '#d784fc',
    950: '#000000',
  },
}
SCSS
$custom: #d784fc;
$custom-light: #e5aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#d784fc",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 281.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74553,
    "c": 0.18473,
    "h": 314.6
  },
  "luminance": 0.37978
}

Semantic roles & 50–950 ramp

primary
#D784FC
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D784FC

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

Preview Lab → · Contrast checker → · Palette generator →

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