#D770C7#D770C7

#D770C7 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.2% C 0.166 H 333.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D770C7
RGBrgb(215, 112, 199)
HSLhsl(309, 56%, 64%)
HSVhsv(309, 48%, 84%)
CMYKcmyk(0%, 47.9%, 7.4%, 15.7%)
CIE-LABlab(61.79, 51.85, -27.55)
CIE-LCHlch(61.79, 58.71, 332.01°)
OKLaboklab(69.18% 0.1487 -0.0747)
OKLCHoklch(69.18% 0.166 333.3)
XYZxyz(44.1272, 30.1617, 57.5193)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770C7 #70D780
analogous
#B470D7 #D770C7 #D77094
triadic
#D770C7 #C7D770 #70C7D7
tetradic
#D770C7 #D7B470 #70D780 #7094D7
square
#D770C7 #D7B470 #70D780 #7094D7
split-complementary
#D770C7 #94D770 #70D7B4
monochromatic
#A02D8E #CA40B4 #D770C7 #E4A0DA #F2D0EC

Accessibility & contrast

On white

2.99
#D770C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D770C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770C7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770C7#FFFFFF#000000##000000
##D770C71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCA
Deuteranopia (green-blind)
#8B9BC4
Tritanopia (blue-blind)
#DF7692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d770c7;
/* rgb */ color: rgb(215, 112, 199);
/* oklch */ color: oklch(69.2% 0.166 333.3);
Tailwind
colors: {
  custom: {
    50: '#e59cd8',
    500: '#d770c7',
    950: '#000000',
  },
}
SCSS
$custom: #d770c7;
$custom-light: #e59cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d770c7",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 199
  },
  "hsl": {
    "h": 309.32,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69179,
    "c": 0.16641,
    "h": 333.3
  },
  "luminance": 0.30159
}

Semantic roles & 50–950 ramp

primary
#D770C7
secondary
#BFE3C5
accent
#C43B22
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D770C7

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

Preview Lab → · Contrast checker → · Palette generator →

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