#D766F3#D766F3

#D766F3 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.0% C 0.221 H 319.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D766F3
RGBrgb(215, 102, 243)
HSLhsl(288, 85%, 68%)
HSVhsv(288, 58%, 95%)
CMYKcmyk(11.5%, 58%, 0%, 4.7%)
CIE-LABlab(62.02, 64.50, -51.83)
CIE-LCHlch(62.02, 82.75, 321.22°)
OKLaboklab(70% 0.1676 -0.1445)
OKLCHoklch(70% 0.221 319.2)
XYZxyz(48.9513, 30.4230, 88.0703)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766F3 #82F366
analogous
#9066F3 #D766F3 #F366C9
triadic
#D766F3 #F3D766 #66F3D7
tetradic
#D766F3 #F39066 #82F366 #66C9F3
square
#D766F3 #F39066 #82F366 #66C9F3
split-complementary
#D766F3 #C9F366 #66F390
monochromatic
#A910CE #C82DEF #D766F3 #E69FF7 #F5D7FC

Accessibility & contrast

On white

2.96
#D766F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D766F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766F3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766F3#FFFFFF#000000##000000
##D766F31.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF7
Deuteranopia (green-blind)
#6F9AEF
Tritanopia (blue-blind)
#D77CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d766f3;
/* rgb */ color: rgb(215, 102, 243);
/* oklch */ color: oklch(70.0% 0.221 319.2);
Tailwind
colors: {
  custom: {
    50: '#e697f7',
    500: '#d766f3',
    950: '#000000',
  },
}
SCSS
$custom: #d766f3;
$custom-light: #e697f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d766f3",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 288.085,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7,
    "c": 0.22129,
    "h": 319.2
  },
  "luminance": 0.30421
}

Semantic roles & 50–950 ramp

primary
#D766F3
secondary
#CDF0C5
accent
#E20430
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D766F3

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

Preview Lab → · Contrast checker → · Palette generator →

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