#D771FB#D771FB

#D771FB is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.8% C 0.213 H 316.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D771FB
RGBrgb(215, 113, 251)
HSLhsl(284, 95%, 71%)
HSVhsv(284, 55%, 98%)
CMYKcmyk(14.3%, 55%, 0%, 1.6%)
CIE-LABlab(64.34, 60.90, -52.56)
CIE-LCHlch(64.34, 80.44, 319.20°)
OKLaboklab(71.83% 0.1544 -0.1466)
OKLCHoklch(71.83% 0.213 316.5)
XYZxyz(51.3395, 33.2241, 94.9566)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771FB #95FB71
analogous
#9271FB #D771FB #FB71DA
triadic
#D771FB #FBD771 #71FBD7
tetradic
#D771FB #FB9271 #95FB71 #71DAFB
square
#D771FB #FB9271 #95FB71 #71DAFB
split-complementary
#D771FB #DAFB71 #71FB92
monochromatic
#AF07EB #C635F9 #D771FB #E8ADFD #F7E1FE

Accessibility & contrast

On white

2.75
#D771FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D771FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771FB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771FB#FFFFFF#000000##000000
##D771FB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#D587AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d771fb;
/* rgb */ color: rgb(215, 113, 251);
/* oklch */ color: oklch(71.8% 0.213 316.5);
Tailwind
colors: {
  custom: {
    50: '#e69efd',
    500: '#d771fb',
    950: '#000000',
  },
}
SCSS
$custom: #d771fb;
$custom-light: #e69efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d771fb",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 284.348,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.21297,
    "h": 316.5
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#D771FB
secondary
#DBF6D2
accent
#E6003C
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D771FB

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

Preview Lab → · Contrast checker → · Palette generator →

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