#D786F4#D786F4

#D786F4 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.5% C 0.173 H 316.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#D786F4
RGBrgb(215, 134, 244)
HSLhsl(284, 83%, 74%)
HSVhsv(284, 45%, 96%)
CMYKcmyk(11.9%, 45.1%, 0%, 4.3%)
CIE-LABlab(68.04, 48.97, -42.88)
CIE-LCHlch(68.04, 65.09, 318.79°)
OKLaboklab(74.46% 0.1258 -0.1187)
OKLCHoklch(74.46% 0.173 316.7)
XYZxyz(52.8762, 38.0305, 90.1257)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786F4 #A3F486
analogous
#A086F4 #D786F4 #F486DA
triadic
#D786F4 #F4D786 #86F4D7
tetradic
#D786F4 #F4A086 #A3F486 #86DAF4
square
#D786F4 #F4A086 #A3F486 #86DAF4
split-complementary
#D786F4 #DAF486 #86F4A0
monochromatic
#B216EA #C44EEF #D786F4 #EABEF9 #F6E3FC

Accessibility & contrast

On white

2.44
#D786F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#D786F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786F4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786F4#FFFFFF#000000##000000
##D786F41.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F8
Deuteranopia (green-blind)
#89A8F1
Tritanopia (blue-blind)
#D695B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d786f4;
/* rgb */ color: rgb(215, 134, 244);
/* oklch */ color: oklch(74.5% 0.173 316.7);
Tailwind
colors: {
  custom: {
    50: '#e5abf8',
    500: '#d786f4',
    950: '#000000',
  },
}
SCSS
$custom: #d786f4;
$custom-light: #e5abf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d786f4",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 284.182,
    "s": 83.333,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74461,
    "c": 0.173,
    "h": 316.7
  },
  "luminance": 0.38029
}

Semantic roles & 50–950 ramp

primary
#D786F4
secondary
#DEF4D7
accent
#E0063F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D786F4

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

Preview Lab → · Contrast checker → · Palette generator →

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