#D771FC#D771FC

#D771FC is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.9% C 0.214 H 316.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D771FC
RGBrgb(215, 113, 252)
HSLhsl(284, 96%, 72%)
HSVhsv(284, 55%, 99%)
CMYKcmyk(14.7%, 55.2%, 0%, 1.2%)
CIE-LABlab(64.39, 61.10, -53.03)
CIE-LCHlch(64.39, 80.90, 319.04°)
OKLaboklab(71.89% 0.1545 -0.148)
OKLCHoklch(71.89% 0.214 316.2)
XYZxyz(51.4975, 33.2873, 95.7890)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771FC #96FC71
analogous
#9271FC #D771FC #FC71DB
triadic
#D771FC #FCD771 #71FCD7
tetradic
#D771FC #FC9271 #96FC71 #71DBFC
square
#D771FC #FC9271 #96FC71 #71DBFC
split-complementary
#D771FC #DBFC71 #71FC92
monochromatic
#B005EE #C635FB #D771FC #E8ADFD #F7E1FE

Accessibility & contrast

On white

2.74
#D771FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D771FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771FC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771FC#FFFFFF#000000##000000
##D771FC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#D587AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d771fc;
/* rgb */ color: rgb(215, 113, 252);
/* oklch */ color: oklch(71.9% 0.214 316.2);
Tailwind
colors: {
  custom: {
    50: '#e69efe',
    500: '#d771fc',
    950: '#000000',
  },
}
SCSS
$custom: #d771fc;
$custom-light: #e69efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d771fc",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 284.029,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71886,
    "c": 0.21396,
    "h": 316.2
  },
  "luminance": 0.33286
}

Semantic roles & 50–950 ramp

primary
#D771FC
secondary
#DCF6D3
accent
#E6003D
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D771FC

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

Preview Lab → · Contrast checker → · Palette generator →

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