#D77DFB#D77DFB

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

Color values

HEX#D77DFB
RGBrgb(215, 125, 251)
HSLhsl(283, 94%, 74%)
HSVhsv(283, 50%, 98%)
CMYKcmyk(14.3%, 50.2%, 0%, 1.6%)
CIE-LABlab(66.58, 54.99, -49.02)
CIE-LCHlch(66.58, 73.66, 318.28°)
OKLaboklab(73.48% 0.1389 -0.1364)
OKLCHoklch(73.48% 0.195 315.5)
XYZxyz(52.7678, 36.0809, 95.4327)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DFB #A1FB7D
analogous
#987DFB #D77DFB #FB7DE0
triadic
#D77DFB #FBD77D #7DFBD7
tetradic
#D77DFB #FB987D #A1FB7D #7DE0FB
square
#D77DFB #FB987D #A1FB7D #7DE0FB
split-complementary
#D77DFB #E0FB7D #7DFB98
monochromatic
#B208F6 #C542F9 #D77DFB #E9B8FD #F6E1FE

Accessibility & contrast

On white

2.56
#D77DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D77DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DFB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DFB#FFFFFF#000000##000000
##D77DFB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#D590B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77dfb;
/* rgb */ color: rgb(215, 125, 251);
/* oklch */ color: oklch(73.5% 0.195 315.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5fd',
    500: '#d77dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d77dfb;
$custom-light: #e6a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d77dfb",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 282.857,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.19471,
    "h": 315.5
  },
  "luminance": 0.36079
}

Semantic roles & 50–950 ramp

primary
#D77DFB
secondary
#DEF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D77DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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