#D770DF#D770DF

#D770DF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.3% C 0.188 H 324.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D770DF
RGBrgb(215, 112, 223)
HSLhsl(296, 63%, 66%)
HSVhsv(296, 50%, 87%)
CMYKcmyk(3.6%, 49.8%, 0%, 12.5%)
CIE-LABlab(62.81, 56.05, -39.45)
CIE-LCHlch(62.81, 68.54, 324.86°)
OKLaboklab(70.27% 0.1529 -0.1087)
OKLCHoklch(70.27% 0.188 324.6)
XYZxyz(47.1366, 31.3655, 73.3690)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770DF #78DF70
analogous
#9F70DF #D770DF #DF70AF
triadic
#D770DF #DFD770 #70DFD7
tetradic
#D770DF #DF9F70 #78DF70 #70AFDF
square
#D770DF #DF9F70 #78DF70 #70AFDF
split-complementary
#D770DF #AFDF70 #70DF9F
monochromatic
#A427AE #C93ED4 #D770DF #E5A2EA #F3D4F5

Accessibility & contrast

On white

2.89
#D770DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D770DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770DF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770DF#FFFFFF#000000##000000
##D770DF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#DB7D9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d770df;
/* rgb */ color: rgb(215, 112, 223);
/* oklch */ color: oklch(70.3% 0.188 324.6);
Tailwind
colors: {
  custom: {
    50: '#e69de9',
    500: '#d770df',
    950: '#000000',
  },
}
SCSS
$custom: #d770df;
$custom-light: #e69de9;
$custom-dark: #000000;
JSON
{
  "hex": "#d770df",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 295.676,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.1876,
    "h": 324.6
  },
  "luminance": 0.31363
}

Semantic roles & 50–950 ramp

primary
#D770DF
secondary
#C6E8C3
accent
#CB1A27
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D770DF

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

Preview Lab → · Contrast checker → · Palette generator →

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