#D785FC#D785FC

#D785FC is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.7% C 0.183 H 314.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D785FC
RGBrgb(215, 133, 252)
HSLhsl(281, 95%, 75%)
HSVhsv(281, 47%, 99%)
CMYKcmyk(14.7%, 47.2%, 0%, 1.2%)
CIE-LABlab(68.21, 51.11, -47.01)
CIE-LCHlch(68.21, 69.44, 317.39°)
OKLaboklab(74.7% 0.1284 -0.1306)
OKLCHoklch(74.7% 0.183 314.5)
XYZxyz(53.9797, 38.2518, 96.6164)
Luminance0.3825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D785FC #AAFC85
analogous
#9C85FC #D785FC #FC85E5
triadic
#D785FC #FCD785 #85FCD7
tetradic
#D785FC #FC9C85 #AAFC85 #85E5FC
square
#D785FC #FC9C85 #AAFC85 #85E5FC
split-complementary
#D785FC #E5FC85 #85FC9C
monochromatic
#B00EF9 #C349FB #D785FC #EBC1FD #F5E1FE

Accessibility & contrast

On white

2.43
#D785FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D785FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D785FC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D785FC#FFFFFF#000000##000000
##D785FC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#D497B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d785fc;
/* rgb */ color: rgb(215, 133, 252);
/* oklch */ color: oklch(74.7% 0.183 314.5);
Tailwind
colors: {
  custom: {
    50: '#e5abfe',
    500: '#d785fc',
    950: '#000000',
  },
}
SCSS
$custom: #d785fc;
$custom-light: #e5abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d785fc",
  "rgb": {
    "r": 215,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 281.345,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74702,
    "c": 0.18314,
    "h": 314.5
  },
  "luminance": 0.3825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D785FC

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

Preview Lab → · Contrast checker → · Palette generator →

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