#D77DFC#D77DFC

#D77DFC is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.196 H 315.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D77DFC
RGBrgb(215, 125, 252)
HSLhsl(283, 95%, 74%)
HSVhsv(283, 50%, 99%)
CMYKcmyk(14.7%, 50.4%, 0%, 1.2%)
CIE-LABlab(66.63, 55.19, -49.49)
CIE-LCHlch(66.63, 74.13, 318.12°)
OKLaboklab(73.53% 0.139 -0.1378)
OKLCHoklch(73.53% 0.196 315.3)
XYZxyz(52.9259, 36.1441, 96.2651)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DFC #A2FC7D
analogous
#987DFC #D77DFC #FC7DE1
triadic
#D77DFC #FCD77D #7DFCD7
tetradic
#D77DFC #FC987D #A2FC7D #7DE1FC
square
#D77DFC #FC987D #A2FC7D #7DE1FC
split-complementary
#D77DFC #E1FC7D #7DFC98
monochromatic
#B206F9 #C541FB #D77DFC #E9B9FD #F6E1FE

Accessibility & contrast

On white

2.55
#D77DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D77DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DFC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DFC#FFFFFF#000000##000000
##D77DFC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#D591B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77dfc;
/* rgb */ color: rgb(215, 125, 252);
/* oklch */ color: oklch(73.5% 0.196 315.3);
Tailwind
colors: {
  custom: {
    50: '#e6a5fe',
    500: '#d77dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d77dfc;
$custom-light: #e6a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d77dfc",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 282.52,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.19574,
    "h": 315.3
  },
  "luminance": 0.36143
}

Semantic roles & 50–950 ramp

primary
#D77DFC
secondary
#DEF7D4
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D77DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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