#D77EFE#D77EFE

#D77EFE is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.196 H 314.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D77EFE
RGBrgb(215, 126, 254)
HSLhsl(282, 98%, 75%)
HSVhsv(282, 50%, 100%)
CMYKcmyk(15.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.92, 55.09, -50.13)
CIE-LCHlch(66.92, 74.48, 317.70°)
OKLaboklab(73.78% 0.1379 -0.1396)
OKLCHoklch(73.78% 0.196 314.6)
XYZxyz(53.3717, 36.5260, 97.9854)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77EFE #A5FE7E
analogous
#977EFE #D77EFE #FE7EE5
triadic
#D77EFE #FED77E #7EFED7
tetradic
#D77EFE #FE977E #A5FE7E #7EE5FE
square
#D77EFE #FE977E #A5FE7E #7EE5FE
split-complementary
#D77EFE #E5FE7E #7EFE97
monochromatic
#B105FD #C441FE #D77EFE #EABBFE #F6E1FF

Accessibility & contrast

On white

2.53
#D77EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#D77EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77EFE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77EFE#FFFFFF#000000##000000
##D77EFE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#D492B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d77efe;
/* rgb */ color: rgb(215, 126, 254);
/* oklch */ color: oklch(73.8% 0.196 314.6);
Tailwind
colors: {
  custom: {
    50: '#e6a6ff',
    500: '#d77efe',
    950: '#000000',
  },
}
SCSS
$custom: #d77efe;
$custom-light: #e6a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d77efe",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 281.719,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73779,
    "c": 0.19628,
    "h": 314.6
  },
  "luminance": 0.36525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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