#D77EF2#D77EF2

#D77EF2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.184 H 317.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D77EF2
RGBrgb(215, 126, 242)
HSLhsl(286, 82%, 72%)
HSVhsv(286, 48%, 95%)
CMYKcmyk(11.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(66.35, 52.68, -44.44)
CIE-LCHlch(66.35, 68.92, 319.85°)
OKLaboklab(73.17% 0.1365 -0.1231)
OKLCHoklch(73.17% 0.184 317.9)
XYZxyz(51.5100, 35.7813, 88.1803)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77EF2 #99F27E
analogous
#9D7EF2 #D77EF2 #F27ED3
triadic
#D77EF2 #F2D77E #7EF2D7
tetradic
#D77EF2 #F29D7E #99F27E #7ED3F2
square
#D77EF2 #F29D7E #99F27E #7ED3F2
split-complementary
#D77EF2 #D3F27E #7EF29D
monochromatic
#B016DF #C646EC #D77EF2 #E8B6F8 #F6E3FC

Accessibility & contrast

On white

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

On black

8.16
#D77EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77EF2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77EF2#FFFFFF#000000##000000
##D77EF21.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#D78EAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77ef2;
/* rgb */ color: rgb(215, 126, 242);
/* oklch */ color: oklch(73.2% 0.184 317.9);
Tailwind
colors: {
  custom: {
    50: '#e5a6f7',
    500: '#d77ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d77ef2;
$custom-light: #e5a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d77ef2",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 286.034,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.18385,
    "h": 317.9
  },
  "luminance": 0.3578
}

Semantic roles & 50–950 ramp

primary
#D77EF2
secondary
#DEF4D7
accent
#DE0739
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D77EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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