#D77DFE#D77DFE

#D77DFE is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.198 H 314.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D77DFE
RGBrgb(215, 125, 254)
HSLhsl(282, 98%, 74%)
HSVhsv(282, 51%, 100%)
CMYKcmyk(15.4%, 50.8%, 0%, 0.4%)
CIE-LABlab(66.73, 55.59, -50.43)
CIE-LCHlch(66.73, 75.06, 317.79°)
OKLaboklab(73.64% 0.1392 -0.1405)
OKLCHoklch(73.64% 0.198 314.7)
XYZxyz(53.2445, 36.2716, 97.9430)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DFE #A4FE7D
analogous
#977DFE #D77DFE #FE7DE5
triadic
#D77DFE #FED77D #7DFED7
tetradic
#D77DFE #FE977D #A4FE7D #7DE5FE
square
#D77DFE #FE977D #A4FE7D #7DE5FE
split-complementary
#D77DFE #E5FE7D #7DFE97
monochromatic
#B204FD #C440FE #D77DFE #EABAFE #F6E1FF

Accessibility & contrast

On white

2.54
#D77DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D77DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DFE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DFE#FFFFFF#000000##000000
##D77DFE1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#D491B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77dfe;
/* rgb */ color: rgb(215, 125, 254);
/* oklch */ color: oklch(73.6% 0.198 314.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5ff',
    500: '#d77dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d77dfe;
$custom-light: #e6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d77dfe",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 281.86,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73636,
    "c": 0.19782,
    "h": 314.7
  },
  "luminance": 0.3627
}

Semantic roles & 50–950 ramp

primary
#D77DFE
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D77DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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