#D77FEF#D77FEF

#D77FEF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.2% C 0.179 H 318.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D77FEF
RGBrgb(215, 127, 239)
HSLhsl(287, 78%, 72%)
HSVhsv(287, 47%, 94%)
CMYKcmyk(10%, 46.9%, 0%, 6.3%)
CIE-LABlab(66.41, 51.58, -42.69)
CIE-LCHlch(66.41, 66.96, 320.39°)
OKLaboklab(73.17% 0.1347 -0.1181)
OKLCHoklch(73.17% 0.179 318.8)
XYZxyz(51.1916, 35.8596, 85.8696)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77FEF #97EF7F
analogous
#9F7FEF #D77FEF #EF7FCF
triadic
#D77FEF #EFD77F #7FEFD7
tetradic
#D77FEF #EF9F7F #97EF7F #7FCFEF
square
#D77FEF #EF9F7F #97EF7F #7FCFEF
split-complementary
#D77FEF #CFEF7F #7FEF9F
monochromatic
#B01BD9 #C649E8 #D77FEF #E8B5F6 #F7E4FC

Accessibility & contrast

On white

2.57
#D77FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D77FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77FEF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77FEF#FFFFFF#000000##000000
##D77FEF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#85A5EC
Tritanopia (blue-blind)
#D78EAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77fef;
/* rgb */ color: rgb(215, 127, 239);
/* oklch */ color: oklch(73.2% 0.179 318.8);
Tailwind
colors: {
  custom: {
    50: '#e5a6f4',
    500: '#d77fef',
    950: '#000000',
  },
}
SCSS
$custom: #d77fef;
$custom-light: #e5a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d77fef",
  "rgb": {
    "r": 215,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 287.143,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73173,
    "c": 0.17918,
    "h": 318.8
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

primary
#D77FEF
secondary
#DDF3D7
accent
#DA0B38
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D77FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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