#D770C8#D770C8

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

Color values

HEX#D770C8
RGBrgb(215, 112, 200)
HSLhsl(309, 56%, 64%)
HSVhsv(309, 48%, 84%)
CMYKcmyk(0%, 47.9%, 7%, 15.7%)
CIE-LABlab(61.83, 52.01, -28.05)
CIE-LCHlch(61.83, 59.10, 331.66°)
OKLaboklab(69.22% 0.1489 -0.0761)
OKLCHoklch(69.22% 0.167 332.9)
XYZxyz(44.2437, 30.2083, 58.1328)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770C8 #70D77F
analogous
#B370D7 #D770C8 #D77095
triadic
#D770C8 #C8D770 #70C8D7
tetradic
#D770C8 #D7B370 #70D77F #7095D7
square
#D770C8 #D7B370 #70D77F #7095D7
split-complementary
#D770C8 #95D770 #70D7B3
monochromatic
#A02D8F #CA40B6 #D770C8 #E4A0DA #F2D0ED

Accessibility & contrast

On white

2.98
#D770C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D770C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770C8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770C8#FFFFFF#000000##000000
##D770C81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#DF7693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d770c8;
/* rgb */ color: rgb(215, 112, 200);
/* oklch */ color: oklch(69.2% 0.167 332.9);
Tailwind
colors: {
  custom: {
    50: '#e59cd9',
    500: '#d770c8',
    950: '#000000',
  },
}
SCSS
$custom: #d770c8;
$custom-light: #e59cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d770c8",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 308.738,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.16724,
    "h": 332.9
  },
  "luminance": 0.30206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D770C8

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

Preview Lab → · Contrast checker → · Palette generator →

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