#D770DA#D770DA

#D770DA is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.183 H 326.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D770DA
RGBrgb(215, 112, 218)
HSLhsl(298, 59%, 65%)
HSVhsv(298, 49%, 85%)
CMYKcmyk(1.4%, 48.6%, 0%, 14.5%)
CIE-LABlab(62.59, 55.15, -37.00)
CIE-LCHlch(62.59, 66.41, 326.14°)
OKLaboklab(70.03% 0.1522 -0.1016)
OKLCHoklch(70.03% 0.183 326.3)
XYZxyz(46.4725, 31.0998, 69.8711)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770DA #73DA70
analogous
#A270DA #D770DA #DA70A8
triadic
#D770DA #DAD770 #70DAD7
tetradic
#D770DA #DAA270 #73DA70 #70A8DA
square
#D770DA #DAA270 #73DA70 #70A8DA
split-complementary
#D770DA #A8DA70 #70DAA2
monochromatic
#A12BA5 #C93FCD #D770DA #E5A1E7 #F2D1F3

Accessibility & contrast

On white

2.91
#D770DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D770DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770DA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770DA#FFFFFF#000000##000000
##D770DA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDE
Deuteranopia (green-blind)
#849CD7
Tritanopia (blue-blind)
#DC7C9B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d770da;
/* rgb */ color: rgb(215, 112, 218);
/* oklch */ color: oklch(70.0% 0.183 326.3);
Tailwind
colors: {
  custom: {
    50: '#e59de6',
    500: '#d770da',
    950: '#000000',
  },
}
SCSS
$custom: #d770da;
$custom-light: #e59de6;
$custom-dark: #000000;
JSON
{
  "hex": "#d770da",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 298.302,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70033,
    "c": 0.183,
    "h": 326.3
  },
  "luminance": 0.31097
}

Semantic roles & 50–950 ramp

primary
#D770DA
secondary
#C2E5C1
accent
#C71F24
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D770DA

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

Preview Lab → · Contrast checker → · Palette generator →

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