#D77EFB#D77EFB

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

Color values

HEX#D77EFB
RGBrgb(215, 126, 251)
HSLhsl(283, 94%, 74%)
HSVhsv(283, 50%, 98%)
CMYKcmyk(14.3%, 49.8%, 0%, 1.6%)
CIE-LABlab(66.78, 54.48, -48.71)
CIE-LCHlch(66.78, 73.08, 318.20°)
OKLaboklab(73.63% 0.1376 -0.1355)
OKLCHoklch(73.63% 0.193 315.4)
XYZxyz(52.8951, 36.3354, 95.4751)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77EFB #A2FB7E
analogous
#997EFB #D77EFB #FB7EE1
triadic
#D77EFB #FBD77E #7EFBD7
tetradic
#D77EFB #FB997E #A2FB7E #7EE1FB
square
#D77EFB #FB997E #A2FB7E #7EE1FB
split-complementary
#D77EFB #E1FB7E #7EFB99
monochromatic
#B208F7 #C543F9 #D77EFB #E9B9FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.27
#D77EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77EFB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77EFB#FFFFFF#000000##000000
##D77EFB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d77efb;
/* rgb */ color: rgb(215, 126, 251);
/* oklch */ color: oklch(73.6% 0.193 315.4);
Tailwind
colors: {
  custom: {
    50: '#e6a6fd',
    500: '#d77efb',
    950: '#000000',
  },
}
SCSS
$custom: #d77efb;
$custom-light: #e6a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d77efb",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 282.72,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.19314,
    "h": 315.4
  },
  "luminance": 0.36334
}

Semantic roles & 50–950 ramp

primary
#D77EFB
secondary
#DEF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D77EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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