#D77EF7#D77EF7

#D77EF7 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.4% C 0.189 H 316.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D77EF7
RGBrgb(215, 126, 247)
HSLhsl(284, 88%, 73%)
HSVhsv(284, 49%, 97%)
CMYKcmyk(13%, 49%, 0%, 3.1%)
CIE-LABlab(66.59, 53.68, -46.82)
CIE-LCHlch(66.59, 71.23, 318.90°)
OKLaboklab(73.42% 0.1372 -0.13)
OKLCHoklch(73.42% 0.189 316.5)
XYZxyz(52.2712, 36.0858, 92.1894)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77EF7 #9EF77E
analogous
#9A7EF7 #D77EF7 #F77EDB
triadic
#D77EF7 #F7D77E #7EF7D7
tetradic
#D77EF7 #F79A7E #9EF77E #7EDBF7
square
#D77EF7 #F79A7E #9EF77E #7EDBF7
split-complementary
#D77EF7 #DBF77E #7EF79A
monochromatic
#B10FEC #C544F3 #D77EF7 #E9B8FB #F6E2FD

Accessibility & contrast

On white

2.56
#D77EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D77EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77EF7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77EF7#FFFFFF#000000##000000
##D77EF71.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#D690AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77ef7;
/* rgb */ color: rgb(215, 126, 247);
/* oklch */ color: oklch(73.4% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#e5a6fa',
    500: '#d77ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d77ef7;
$custom-light: #e5a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d77ef7",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 284.132,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73422,
    "c": 0.189,
    "h": 316.5
  },
  "luminance": 0.36084
}

Semantic roles & 50–950 ramp

primary
#D77EF7
secondary
#DEF5D6
accent
#E5013D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D77EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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