#D77DF2#D77DF2

#D77DF2 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.185 H 318.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D77DF2
RGBrgb(215, 125, 242)
HSLhsl(286, 82%, 72%)
HSVhsv(286, 48%, 95%)
CMYKcmyk(11.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(66.16, 53.19, -44.74)
CIE-LCHlch(66.16, 69.51, 319.93°)
OKLaboklab(73.03% 0.1379 -0.124)
OKLCHoklch(73.03% 0.185 318)
XYZxyz(51.3828, 35.5269, 88.1379)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DF2 #98F27D
analogous
#9D7DF2 #D77DF2 #F27DD2
triadic
#D77DF2 #F2D77D #7DF2D7
tetradic
#D77DF2 #F29D7D #98F27D #7DD2F2
square
#D77DF2 #F29D7D #98F27D #7DD2F2
split-complementary
#D77DF2 #D2F27D #7DF29D
monochromatic
#B016DE #C645EC #D77DF2 #E8B5F8 #F6E3FC

Accessibility & contrast

On white

2.59
#D77DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D77DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DF2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DF2#FFFFFF#000000##000000
##D77DF21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#D78EAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77df2;
/* rgb */ color: rgb(215, 125, 242);
/* oklch */ color: oklch(73.0% 0.185 318.0);
Tailwind
colors: {
  custom: {
    50: '#e5a5f7',
    500: '#d77df2',
    950: '#000000',
  },
}
SCSS
$custom: #d77df2;
$custom-light: #e5a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d77df2",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 286.154,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73028,
    "c": 0.18546,
    "h": 318
  },
  "luminance": 0.35525
}

Semantic roles & 50–950 ramp

primary
#D77DF2
secondary
#DEF4D7
accent
#DE0739
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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