#D771F7#D771F7

#D771F7 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.6% C 0.209 H 317.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D771F7
RGBrgb(215, 113, 247)
HSLhsl(286, 89%, 71%)
HSVhsv(286, 54%, 97%)
CMYKcmyk(13%, 54.3%, 0%, 3.1%)
CIE-LABlab(64.14, 60.11, -50.68)
CIE-LCHlch(64.14, 78.62, 319.87°)
OKLaboklab(71.62% 0.1542 -0.1412)
OKLCHoklch(71.62% 0.209 317.5)
XYZxyz(50.7156, 32.9746, 91.6709)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771F7 #91F771
analogous
#9471F7 #D771F7 #F771D4
triadic
#D771F7 #F7D771 #71F7D7
tetradic
#D771F7 #F79471 #91F771 #71D4F7
square
#D771F7 #F79471 #91F771 #71D4F7
split-complementary
#D771F7 #D4F771 #71F794
monochromatic
#AE0DE1 #C737F4 #D771F7 #E7ABFA #F7E2FD

Accessibility & contrast

On white

2.77
#D771F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D771F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771F7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771F7#FFFFFF#000000##000000
##D771F71.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#D686AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d771f7;
/* rgb */ color: rgb(215, 113, 247);
/* oklch */ color: oklch(71.6% 0.209 317.5);
Tailwind
colors: {
  custom: {
    50: '#e69efa',
    500: '#d771f7',
    950: '#000000',
  },
}
SCSS
$custom: #d771f7;
$custom-light: #e69efa;
$custom-dark: #000000;
JSON
{
  "hex": "#d771f7",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 285.672,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.20903,
    "h": 317.5
  },
  "luminance": 0.32973
}

Semantic roles & 50–950 ramp

primary
#D771F7
secondary
#D8F4D0
accent
#E60037
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D771F7

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

Preview Lab → · Contrast checker → · Palette generator →

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