#D766DB#D766DB

#D766DB is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.8% C 0.199 H 326.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D766DB
RGBrgb(215, 102, 219)
HSLhsl(298, 62%, 63%)
HSVhsv(298, 53%, 86%)
CMYKcmyk(1.8%, 53.4%, 0%, 14.1%)
CIE-LABlab(60.84, 60.10, -40.31)
CIE-LCHlch(60.84, 72.37, 326.15°)
OKLaboklab(68.76% 0.1657 -0.1111)
OKLCHoklch(68.76% 0.199 326.2)
XYZxyz(45.5610, 29.0668, 70.2147)
Luminance0.2906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766DB #6ADB66
analogous
#9D66DB #D766DB #DB66A4
triadic
#D766DB #DBD766 #66DBD7
tetradic
#D766DB #DB9D66 #6ADB66 #66A4DB
square
#D766DB #DB9D66 #6ADB66 #66A4DB
split-complementary
#D766DB #A4DB66 #66DB9D
monochromatic
#9D26A1 #CA34CF #D766DB #E498E7 #F1C9F2

Accessibility & contrast

On white

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

On black

6.81
#D766DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D766DB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766DB#FFFFFF#000000##000000
##D766DB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588ADF
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#DC7497
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d766db;
/* rgb */ color: rgb(215, 102, 219);
/* oklch */ color: oklch(68.8% 0.199 326.2);
Tailwind
colors: {
  custom: {
    50: '#e697e6',
    500: '#d766db',
    950: '#000000',
  },
}
SCSS
$custom: #d766db;
$custom-light: #e697e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d766db",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 297.949,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.19946,
    "h": 326.2
  },
  "luminance": 0.29064
}

Semantic roles & 50–950 ramp

primary
#D766DB
secondary
#BBE3B9
accent
#CA1C22
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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