#D766DC#D766DC

#D766DC is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 68.8% C 0.200 H 325.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#D766DC
RGBrgb(215, 102, 220)
HSLhsl(297, 63%, 63%)
HSVhsv(297, 54%, 86%)
CMYKcmyk(2.3%, 53.6%, 0%, 13.7%)
CIE-LABlab(60.89, 60.28, -40.79)
CIE-LCHlch(60.89, 72.79, 325.91°)
OKLaboklab(68.81% 0.1658 -0.1125)
OKLCHoklch(68.81% 0.2 325.8)
XYZxyz(45.6930, 29.1197, 70.9102)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766DC #6BDC66
analogous
#9C66DC #D766DC #DC66A6
triadic
#D766DC #DCD766 #66DCD7
tetradic
#D766DC #DC9C66 #6BDC66 #66A6DC
square
#D766DC #DC9C66 #6BDC66 #66A6DC
split-complementary
#D766DC #A6DC66 #66DC9C
monochromatic
#9D25A2 #CA34D1 #D766DC #E498E7 #F1CAF3

Accessibility & contrast

On white

3.08
#D766DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#D766DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D766DC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766DC#FFFFFF#000000##000000
##D766DC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#DC7498
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d766dc;
/* rgb */ color: rgb(215, 102, 220);
/* oklch */ color: oklch(68.8% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#e697e7',
    500: '#d766dc',
    950: '#000000',
  },
}
SCSS
$custom: #d766dc;
$custom-light: #e697e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d766dc",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 297.458,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68806,
    "c": 0.20033,
    "h": 325.8
  },
  "luminance": 0.29117
}

Semantic roles & 50–950 ramp

primary
#D766DC
secondary
#BCE4BA
accent
#CB1B22
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D766DC

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

Preview Lab → · Contrast checker → · Palette generator →

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