#D77CFB#D77CFB

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

Color values

HEX#D77CFB
RGBrgb(215, 124, 251)
HSLhsl(283, 94%, 74%)
HSVhsv(283, 51%, 98%)
CMYKcmyk(14.3%, 50.6%, 0%, 1.6%)
CIE-LABlab(66.39, 55.49, -49.32)
CIE-LCHlch(66.39, 74.24, 318.37°)
OKLaboklab(73.34% 0.1403 -0.1373)
OKLCHoklch(73.34% 0.196 315.6)
XYZxyz(52.6419, 35.8290, 95.3907)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77CFB #A0FB7C
analogous
#977CFB #D77CFB #FB7CDF
triadic
#D77CFB #FBD77C #7CFBD7
tetradic
#D77CFB #FB977C #A0FB7C #7CDFFB
square
#D77CFB #FB977C #A0FB7C #7CDFFB
split-complementary
#D77CFB #DFFB7C #7CFB97
monochromatic
#B207F5 #C541F9 #D77CFB #E9B7FD #F6E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D77CFB#FFFFFF#000000##000000
##D77CFB1.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)
#609CFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#D58FB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77cfb;
/* rgb */ color: rgb(215, 124, 251);
/* oklch */ color: oklch(73.3% 0.196 315.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5fd',
    500: '#d77cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d77cfb;
$custom-light: #e6a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d77cfb",
  "rgb": {
    "r": 215,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 282.992,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73339,
    "c": 0.19626,
    "h": 315.6
  },
  "luminance": 0.35827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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