#D77DF7#D77DF7

#D77DF7 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.191 H 316.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D77DF7
RGBrgb(215, 125, 247)
HSLhsl(284, 88%, 73%)
HSVhsv(284, 49%, 97%)
CMYKcmyk(13%, 49.4%, 0%, 3.1%)
CIE-LABlab(66.39, 54.18, -47.12)
CIE-LCHlch(66.39, 71.81, 318.99°)
OKLaboklab(73.28% 0.1385 -0.1309)
OKLCHoklch(73.28% 0.191 316.6)
XYZxyz(52.1440, 35.8314, 92.1470)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DF7 #9DF77D
analogous
#9A7DF7 #D77DF7 #F77DDA
triadic
#D77DF7 #F7D77D #7DF7D7
tetradic
#D77DF7 #F79A7D #9DF77D #7DDAF7
square
#D77DF7 #F79A7D #9DF77D #7DDAF7
split-complementary
#D77DF7 #DAF77D #7DF79A
monochromatic
#B10EEB #C543F3 #D77DF7 #E9B7FB #F6E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D77DF7#FFFFFF#000000##000000
##D77DF71.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)
#659CFB
Deuteranopia (green-blind)
#80A4F4
Tritanopia (blue-blind)
#D68FAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77df7;
/* rgb */ color: rgb(215, 125, 247);
/* oklch */ color: oklch(73.3% 0.191 316.6);
Tailwind
colors: {
  custom: {
    50: '#e5a5fa',
    500: '#d77df7',
    950: '#000000',
  },
}
SCSS
$custom: #d77df7;
$custom-light: #e5a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d77df7",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 284.262,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73278,
    "c": 0.19058,
    "h": 316.6
  },
  "luminance": 0.3583
}

Semantic roles & 50–950 ramp

primary
#D77DF7
secondary
#DEF5D6
accent
#E5003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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