#D785EA#D785EA

#D785EA is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.164 H 319.9°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#D785EA
RGBrgb(215, 133, 234)
HSLhsl(289, 71%, 72%)
HSVhsv(289, 43%, 92%)
CMYKcmyk(8.1%, 43.2%, 0%, 8.2%)
CIE-LABlab(67.40, 47.51, -38.39)
CIE-LCHlch(67.40, 61.08, 321.06°)
OKLaboklab(73.84% 0.1256 -0.1058)
OKLCHoklch(73.84% 0.164 319.9)
XYZxyz(51.2613, 37.1644, 82.2991)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D785EA #98EA85
analogous
#A585EA #D785EA #EA85CB
triadic
#D785EA #EAD785 #85EAD7
tetradic
#D785EA #EAA585 #98EA85 #85CBEA
square
#D785EA #EAA585 #98EA85 #85CBEA
split-complementary
#D785EA #CBEA85 #85EAA5
monochromatic
#B024D1 #C651E1 #D785EA #E8B9F3 #F6E5FB

Accessibility & contrast

On white

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

On black

8.43
#D785EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D785EA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D785EA#FFFFFF#000000##000000
##D785EA1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d785ea;
/* rgb */ color: rgb(215, 133, 234);
/* oklch */ color: oklch(73.8% 0.164 319.9);
Tailwind
colors: {
  custom: {
    50: '#e5aaf1',
    500: '#d785ea',
    950: '#000000',
  },
}
SCSS
$custom: #d785ea;
$custom-light: #e5aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d785ea",
  "rgb": {
    "r": 215,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 288.713,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73837,
    "c": 0.16419,
    "h": 319.9
  },
  "luminance": 0.37163
}

Semantic roles & 50–950 ramp

primary
#D785EA
secondary
#DEF2D9
accent
#D31337
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D785EA

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

Preview Lab → · Contrast checker → · Palette generator →

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