#D770D2#D770D2

#D770D2 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.176 H 329.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D770D2
RGBrgb(215, 112, 210)
HSLhsl(303, 56%, 64%)
HSVhsv(303, 48%, 84%)
CMYKcmyk(0%, 47.9%, 2.3%, 15.7%)
CIE-LABlab(62.25, 53.73, -33.05)
CIE-LCHlch(62.25, 63.08, 328.40°)
OKLaboklab(69.66% 0.1508 -0.0903)
OKLCHoklch(69.66% 0.176 329.1)
XYZxyz(45.4508, 30.6911, 64.4902)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770D2 #70D775
analogous
#A970D7 #D770D2 #D7709F
triadic
#D770D2 #D2D770 #70D2D7
tetradic
#D770D2 #D7A970 #70D775 #709FD7
square
#D770D2 #D7A970 #70D775 #709FD7
split-complementary
#D770D2 #9FD770 #70D7A9
monochromatic
#A02D9A #CA40C3 #D770D2 #E4A0E1 #F2D0F0

Accessibility & contrast

On white

2.94
#D770D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D770D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770D2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770D2#FFFFFF#000000##000000
##D770D21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED5
Deuteranopia (green-blind)
#879BCF
Tritanopia (blue-blind)
#DD7997
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d770d2;
/* rgb */ color: rgb(215, 112, 210);
/* oklch */ color: oklch(69.7% 0.176 329.1);
Tailwind
colors: {
  custom: {
    50: '#e59de0',
    500: '#d770d2',
    950: '#000000',
  },
}
SCSS
$custom: #d770d2;
$custom-light: #e59de0;
$custom-dark: #000000;
JSON
{
  "hex": "#d770d2",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 302.913,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69663,
    "c": 0.17583,
    "h": 329.1
  },
  "luminance": 0.30689
}

Semantic roles & 50–950 ramp

primary
#D770D2
secondary
#BFE3C1
accent
#C42A22
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D770D2

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

Preview Lab → · Contrast checker → · Palette generator →

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