#D782FC#D782FC

#D782FC is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.3% C 0.188 H 314.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D782FC
RGBrgb(215, 130, 252)
HSLhsl(282, 95%, 75%)
HSVhsv(282, 48%, 99%)
CMYKcmyk(14.7%, 48.4%, 0%, 1.2%)
CIE-LABlab(67.61, 52.65, -47.95)
CIE-LCHlch(67.61, 71.21, 317.68°)
OKLaboklab(74.26% 0.1324 -0.1333)
OKLCHoklch(74.26% 0.188 314.8)
XYZxyz(53.5749, 37.4421, 96.4814)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D782FC #A7FC82
analogous
#9A82FC #D782FC #FC82E4
triadic
#D782FC #FCD782 #82FCD7
tetradic
#D782FC #FC9A82 #A7FC82 #82E4FC
square
#D782FC #FC9A82 #A7FC82 #82E4FC
split-complementary
#D782FC #E4FC82 #82FC9A
monochromatic
#B10AF9 #C446FB #D782FC #EABEFD #F5E1FE

Accessibility & contrast

On white

2.47
#D782FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#D782FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D782FC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D782FC#FFFFFF#000000##000000
##D782FC1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#D594B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d782fc;
/* rgb */ color: rgb(215, 130, 252);
/* oklch */ color: oklch(74.3% 0.188 314.8);
Tailwind
colors: {
  custom: {
    50: '#e5a9fe',
    500: '#d782fc',
    950: '#000000',
  },
}
SCSS
$custom: #d782fc;
$custom-light: #e5a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d782fc",
  "rgb": {
    "r": 215,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 281.803,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74257,
    "c": 0.1879,
    "h": 314.8
  },
  "luminance": 0.37441
}

Semantic roles & 50–950 ramp

primary
#D782FC
secondary
#DFF7D4
accent
#E60046
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D782FC

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

Preview Lab → · Contrast checker → · Palette generator →

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