#D77CEF#D77CEF

#D77CEF is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.7% C 0.184 H 319.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D77CEF
RGBrgb(215, 124, 239)
HSLhsl(287, 78%, 71%)
HSVhsv(287, 48%, 94%)
CMYKcmyk(10%, 48.1%, 0%, 6.3%)
CIE-LABlab(65.82, 53.11, -43.61)
CIE-LCHlch(65.82, 68.72, 320.61°)
OKLaboklab(72.74% 0.1388 -0.1208)
OKLCHoklch(72.74% 0.184 319)
XYZxyz(50.8099, 35.0962, 85.7424)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77CEF #94EF7C
analogous
#9D7CEF #D77CEF #EF7CCD
triadic
#D77CEF #EFD77C #7CEFD7
tetradic
#D77CEF #EF9D7C #94EF7C #7CCDEF
square
#D77CEF #EF9D7C #94EF7C #7CCDEF
split-complementary
#D77CEF #CDEF7C #7CEF9D
monochromatic
#AF1AD6 #C645E8 #D77CEF #E8B3F6 #F7E4FC

Accessibility & contrast

On white

2.62
#D77CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D77CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77CEF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77CEF#FFFFFF#000000##000000
##D77CEF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D88CAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77cef;
/* rgb */ color: rgb(215, 124, 239);
/* oklch */ color: oklch(72.7% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#e5a5f4',
    500: '#d77cef',
    950: '#000000',
  },
}
SCSS
$custom: #d77cef;
$custom-light: #e5a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d77cef",
  "rgb": {
    "r": 215,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 287.478,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72736,
    "c": 0.184,
    "h": 319
  },
  "luminance": 0.35094
}

Semantic roles & 50–950 ramp

primary
#D77CEF
secondary
#DBF3D4
accent
#DA0B36
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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