#D771F0#D771F0

#D771F0 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.3% C 0.202 H 319.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D771F0
RGBrgb(215, 113, 240)
HSLhsl(288, 81%, 69%)
HSVhsv(288, 53%, 94%)
CMYKcmyk(10.4%, 52.9%, 0%, 5.9%)
CIE-LABlab(63.80, 58.75, -47.36)
CIE-LCHlch(63.80, 75.46, 321.13°)
OKLaboklab(71.25% 0.1536 -0.1315)
OKLCHoklch(71.25% 0.202 319.4)
XYZxyz(49.6556, 32.5506, 86.0884)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771F0 #8AF071
analogous
#9871F0 #D771F0 #F071CA
triadic
#D771F0 #F0D771 #71F0D7
tetradic
#D771F0 #F09871 #8AF071 #71CAF0
square
#D771F0 #F09871 #8AF071 #71CAF0
split-complementary
#D771F0 #CAF071 #71F098
monochromatic
#AC16D1 #C73AEA #D771F0 #E7A8F6 #F6E0FC

Accessibility & contrast

On white

2.80
#D771F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D771F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771F0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771F0#FFFFFF#000000##000000
##D771F01.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#7A9EED
Tritanopia (blue-blind)
#D884A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d771f0;
/* rgb */ color: rgb(215, 113, 240);
/* oklch */ color: oklch(71.3% 0.202 319.4);
Tailwind
colors: {
  custom: {
    50: '#e69ef5',
    500: '#d771f0',
    950: '#000000',
  },
}
SCSS
$custom: #d771f0;
$custom-light: #e69ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d771f0",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 288.189,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.2022,
    "h": 319.4
  },
  "luminance": 0.32549
}

Semantic roles & 50–950 ramp

primary
#D771F0
secondary
#D3F1CC
accent
#DD0832
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D771F0

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

Preview Lab → · Contrast checker → · Palette generator →

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