#D785EB#D785EB

#D785EB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.9% C 0.165 H 319.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D785EB
RGBrgb(215, 133, 235)
HSLhsl(288, 72%, 72%)
HSVhsv(288, 43%, 92%)
CMYKcmyk(8.5%, 43.4%, 0%, 7.8%)
CIE-LABlab(67.44, 47.70, -38.87)
CIE-LCHlch(67.44, 61.54, 320.82°)
OKLaboklab(73.88% 0.1258 -0.1072)
OKLCHoklch(73.88% 0.165 319.6)
XYZxyz(51.4053, 37.2220, 83.0579)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D785EB #99EB85
analogous
#A485EB #D785EB #EB85CC
triadic
#D785EB #EBD785 #85EBD7
tetradic
#D785EB #EBA485 #99EB85 #85CCEB
square
#D785EB #EBA485 #99EB85 #85CCEB
split-complementary
#D785EB #CCEB85 #85EBA4
monochromatic
#B023D3 #C650E2 #D785EB #E8BAF4 #F6E5FB

Accessibility & contrast

On white

2.49
#D785EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D785EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D785EB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D785EB#FFFFFF#000000##000000
##D785EB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#D892AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d785eb;
/* rgb */ color: rgb(215, 133, 235);
/* oklch */ color: oklch(73.9% 0.165 319.6);
Tailwind
colors: {
  custom: {
    50: '#e5aaf2',
    500: '#d785eb',
    950: '#000000',
  },
}
SCSS
$custom: #d785eb;
$custom-light: #e5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d785eb",
  "rgb": {
    "r": 215,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 288.235,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73884,
    "c": 0.16522,
    "h": 319.6
  },
  "luminance": 0.3722
}

Semantic roles & 50–950 ramp

primary
#D785EB
secondary
#DEF2D9
accent
#D41238
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D785EB

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

Preview Lab → · Contrast checker → · Palette generator →

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