#D77FF2#D77FF2

#D77FF2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.3% C 0.182 H 317.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D77FF2
RGBrgb(215, 127, 242)
HSLhsl(286, 82%, 72%)
HSVhsv(286, 48%, 95%)
CMYKcmyk(11.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(66.55, 52.17, -44.13)
CIE-LCHlch(66.55, 68.33, 319.78°)
OKLaboklab(73.32% 0.1352 -0.1223)
OKLCHoklch(73.32% 0.182 317.9)
XYZxyz(51.6385, 36.0383, 88.2231)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77FF2 #9AF27F
analogous
#9E7FF2 #D77FF2 #F27FD4
triadic
#D77FF2 #F2D77F #7FF2D7
tetradic
#D77FF2 #F29E7F #9AF27F #7FD4F2
square
#D77FF2 #F29E7F #9AF27F #7FD4F2
split-complementary
#D77FF2 #D4F27F #7FF29E
monochromatic
#B117E0 #C647EC #D77FF2 #E8B7F8 #F6E3FC

Accessibility & contrast

On white

2.56
#D77FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#D77FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77FF2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77FF2#FFFFFF#000000##000000
##D77FF21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#D78FAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77ff2;
/* rgb */ color: rgb(215, 127, 242);
/* oklch */ color: oklch(73.3% 0.182 317.9);
Tailwind
colors: {
  custom: {
    50: '#e5a6f7',
    500: '#d77ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d77ff2;
$custom-light: #e5a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d77ff2",
  "rgb": {
    "r": 215,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 285.913,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7332,
    "c": 0.18225,
    "h": 317.9
  },
  "luminance": 0.36037
}

Semantic roles & 50–950 ramp

primary
#D77FF2
secondary
#DEF4D7
accent
#DE083A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D77FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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