#D785FF#D785FF

#D785FF is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.9% C 0.186 H 313.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D785FF
RGBrgb(215, 133, 255)
HSLhsl(280, 100%, 76%)
HSVhsv(280, 48%, 100%)
CMYKcmyk(15.7%, 47.8%, 0%, 0%)
CIE-LABlab(68.35, 51.72, -48.42)
CIE-LCHlch(68.35, 70.85, 316.89°)
OKLaboklab(74.85% 0.1287 -0.1347)
OKLCHoklch(74.85% 0.186 313.7)
XYZxyz(54.4589, 38.4435, 99.1399)
Luminance0.3844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D785FF #ADFF85
analogous
#9A85FF #D785FF #FF85EA
triadic
#D785FF #FFD785 #85FFD7
tetradic
#D785FF #FF9A85 #ADFF85 #85EAFF
square
#D785FF #FF9A85 #ADFF85 #85EAFF
split-complementary
#D785FF #EAFF85 #85FF9A
monochromatic
#AF0BFF #C348FF #D785FF #EBC2FF #F5E0FF

Accessibility & contrast

On white

2.42
#D785FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#D785FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D785FF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D785FF#FFFFFF#000000##000000
##D785FF1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#D498B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d785ff;
/* rgb */ color: rgb(215, 133, 255);
/* oklch */ color: oklch(74.9% 0.186 313.7);
Tailwind
colors: {
  custom: {
    50: '#e5abff',
    500: '#d785ff',
    950: '#000000',
  },
}
SCSS
$custom: #d785ff;
$custom-light: #e5abff;
$custom-dark: #000000;
JSON
{
  "hex": "#d785ff",
  "rgb": {
    "r": 215,
    "g": 133,
    "b": 255
  },
  "hsl": {
    "h": 280.328,
    "s": 100,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74852,
    "c": 0.18635,
    "h": 313.7
  },
  "luminance": 0.38442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D785FF

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

Preview Lab → · Contrast checker → · Palette generator →

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