#D766CD#D766CD

#D766CD is a light, vivid purple. Relative luminance 0.284; OKLCH L 68.1% C 0.187 H 330.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#D766CD
RGBrgb(215, 102, 205)
HSLhsl(305, 59%, 62%)
HSVhsv(305, 53%, 84%)
CMYKcmyk(0%, 52.6%, 4.7%, 15.7%)
CIE-LABlab(60.21, 57.68, -33.39)
CIE-LCHlch(60.21, 66.65, 329.93°)
OKLaboklab(68.09% 0.1637 -0.0912)
OKLCHoklch(68.09% 0.187 330.9)
XYZxyz(43.7948, 28.3604, 60.9131)
Luminance0.2836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766CD #66D770
analogous
#A966D7 #D766CD #D76694
triadic
#D766CD #CDD766 #66CDD7
tetradic
#D766CD #D7A966 #66D770 #6694D7
square
#D766CD #D7A966 #66D770 #6694D7
split-complementary
#D766CD #94D766 #66D7A9
monochromatic
#9A2890 #CA35BD #D766CD #E497DD #F0C7ED

Accessibility & contrast

On white

3.15
#D766CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#D766CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D766CD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766CD#FFFFFF#000000##000000
##D766CD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#DE7090
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d766cd;
/* rgb */ color: rgb(215, 102, 205);
/* oklch */ color: oklch(68.1% 0.187 330.9);
Tailwind
colors: {
  custom: {
    50: '#e696dc',
    500: '#d766cd',
    950: '#000000',
  },
}
SCSS
$custom: #d766cd;
$custom-light: #e696dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d766cd",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 305.31,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.18741,
    "h": 330.9
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#D766CD
secondary
#B8E1BB
accent
#C62E1F
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D766CD

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

Preview Lab → · Contrast checker → · Palette generator →

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