#D785FA#D785FA

#D785FA is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.6% C 0.181 H 315.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D785FA
RGBrgb(215, 133, 250)
HSLhsl(282, 92%, 75%)
HSVhsv(282, 47%, 98%)
CMYKcmyk(14%, 46.8%, 0%, 2%)
CIE-LABlab(68.11, 50.70, -46.06)
CIE-LCHlch(68.11, 68.50, 317.75°)
OKLaboklab(74.6% 0.1281 -0.1279)
OKLCHoklch(74.6% 0.181 315)
XYZxyz(53.6645, 38.1257, 94.9560)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D785FA #A8FA85
analogous
#9C85FA #D785FA #FA85E3
triadic
#D785FA #FAD785 #85FAD7
tetradic
#D785FA #FA9C85 #A8FA85 #85E3FA
square
#D785FA #FA9C85 #A8FA85 #85E3FA
split-complementary
#D785FA #E3FA85 #85FA9C
monochromatic
#B00FF5 #C44AF8 #D785FA #EAC0FC #F5E2FE

Accessibility & contrast

On white

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

On black

8.62
#D785FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D785FA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D785FA#FFFFFF#000000##000000
##D785FA1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#D596B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d785fa;
/* rgb */ color: rgb(215, 133, 250);
/* oklch */ color: oklch(74.6% 0.181 315.0);
Tailwind
colors: {
  custom: {
    50: '#e5aafc',
    500: '#d785fa',
    950: '#000000',
  },
}
SCSS
$custom: #d785fa;
$custom-light: #e5aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d785fa",
  "rgb": {
    "r": 215,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 282.051,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74602,
    "c": 0.181,
    "h": 315
  },
  "luminance": 0.38124
}

Semantic roles & 50–950 ramp

primary
#D785FA
secondary
#DFF6D5
accent
#E60045
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D785FA

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

Preview Lab → · Contrast checker → · Palette generator →

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