#D77FFC#D77FFC

#D77FFC is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.193 H 315.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D77FFC
RGBrgb(215, 127, 252)
HSLhsl(282, 95%, 74%)
HSVhsv(282, 50%, 99%)
CMYKcmyk(14.7%, 49.6%, 0%, 1.2%)
CIE-LABlab(67.02, 54.18, -48.88)
CIE-LCHlch(67.02, 72.97, 317.94°)
OKLaboklab(73.82% 0.1364 -0.136)
OKLCHoklch(73.82% 0.193 315.1)
XYZxyz(53.1816, 36.6556, 96.3503)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77FFC #A4FC7F
analogous
#997FFC #D77FFC #FC7FE3
triadic
#D77FFC #FCD77F #7FFCD7
tetradic
#D77FFC #FC997F #A4FC7F #7FE3FC
square
#D77FFC #FC997F #A4FC7F #7FE3FC
split-complementary
#D77FFC #E3FC7F #7FFC99
monochromatic
#B207F9 #C443FB #D77FFC #EABBFD #F6E1FE

Accessibility & contrast

On white

2.52
#D77FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D77FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77FFC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77FFC#FFFFFF#000000##000000
##D77FFC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#D592B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d77ffc;
/* rgb */ color: rgb(215, 127, 252);
/* oklch */ color: oklch(73.8% 0.193 315.1);
Tailwind
colors: {
  custom: {
    50: '#e6a7fe',
    500: '#d77ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d77ffc;
$custom-light: #e6a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d77ffc",
  "rgb": {
    "r": 215,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 282.24,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7382,
    "c": 0.19262,
    "h": 315.1
  },
  "luminance": 0.36654
}

Semantic roles & 50–950 ramp

primary
#D77FFC
secondary
#DFF7D4
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D77FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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