#D771FE#D771FE

#D771FE is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.0% C 0.216 H 315.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D771FE
RGBrgb(215, 113, 254)
HSLhsl(283, 99%, 72%)
HSVhsv(283, 56%, 100%)
CMYKcmyk(15.4%, 55.5%, 0%, 0.4%)
CIE-LABlab(64.50, 61.49, -53.97)
CIE-LCHlch(64.50, 81.81, 318.73°)
OKLaboklab(71.99% 0.1546 -0.1507)
OKLCHoklch(71.99% 0.216 315.7)
XYZxyz(51.8161, 33.4148, 97.4669)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771FE #98FE71
analogous
#9171FE #D771FE #FE71DF
triadic
#D771FE #FED771 #71FED7
tetradic
#D771FE #FE9171 #98FE71 #71DFFE
square
#D771FE #FE9171 #98FE71 #71DFFE
split-complementary
#D771FE #DFFE71 #71FE91
monochromatic
#B002F3 #C634FE #D771FE #E8AEFE #F6E1FF

Accessibility & contrast

On white

2.73
#D771FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D771FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771FE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771FE#FFFFFF#000000##000000
##D771FE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#D588AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d771fe;
/* rgb */ color: rgb(215, 113, 254);
/* oklch */ color: oklch(72.0% 0.216 315.7);
Tailwind
colors: {
  custom: {
    50: '#e69eff',
    500: '#d771fe',
    950: '#000000',
  },
}
SCSS
$custom: #d771fe;
$custom-light: #e69eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d771fe",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 283.404,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71994,
    "c": 0.21594,
    "h": 315.7
  },
  "luminance": 0.33413
}

Semantic roles & 50–950 ramp

primary
#D771FE
secondary
#DEF7D4
accent
#E6003F
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D771FE

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

Preview Lab → · Contrast checker → · Palette generator →

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