#D77FEB#D77FEB

#D77FEB is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.175 H 320.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D77FEB
RGBrgb(215, 127, 235)
HSLhsl(289, 73%, 71%)
HSVhsv(289, 46%, 92%)
CMYKcmyk(8.5%, 46%, 0%, 7.8%)
CIE-LABlab(66.23, 50.80, -40.77)
CIE-LCHlch(66.23, 65.14, 321.26°)
OKLaboklab(72.98% 0.1341 -0.1126)
OKLCHoklch(72.98% 0.175 320)
XYZxyz(50.6072, 35.6258, 82.7918)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77FEB #93EB7F
analogous
#A17FEB #D77FEB #EB7FC9
triadic
#D77FEB #EBD77F #7FEBD7
tetradic
#D77FEB #EBA17F #93EB7F #7FC9EB
square
#D77FEB #EBA17F #93EB7F #7FC9EB
split-complementary
#D77FEB #C9EB7F #7FEBA1
monochromatic
#AF20CF #C64AE3 #D77FEB #E8B4F3 #F7E5FB

Accessibility & contrast

On white

2.58
#D77FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D77FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77FEB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77FEB#FFFFFF#000000##000000
##D77FEB1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D88DAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77feb;
/* rgb */ color: rgb(215, 127, 235);
/* oklch */ color: oklch(73.0% 0.175 320.0);
Tailwind
colors: {
  custom: {
    50: '#e5a6f2',
    500: '#d77feb',
    950: '#000000',
  },
}
SCSS
$custom: #d77feb;
$custom-light: #e5a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d77feb",
  "rgb": {
    "r": 215,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 288.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.1751,
    "h": 320
  },
  "luminance": 0.35624
}

Semantic roles & 50–950 ramp

primary
#D77FEB
secondary
#DAF1D5
accent
#D51035
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D77FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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