#D766F8#D766F8

#D766F8 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.3% C 0.226 H 318.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D766F8
RGBrgb(215, 102, 248)
HSLhsl(286, 91%, 69%)
HSVhsv(286, 59%, 97%)
CMYKcmyk(13.3%, 58.9%, 0%, 2.7%)
CIE-LABlab(62.28, 65.46, -54.18)
CIE-LCHlch(62.28, 84.97, 320.38°)
OKLaboklab(70.27% 0.1678 -0.1513)
OKLCHoklch(70.27% 0.226 318)
XYZxyz(49.7166, 30.7291, 92.1012)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766F8 #87F866
analogous
#8E66F8 #D766F8 #F866D0
triadic
#D766F8 #F8D766 #66F8D7
tetradic
#D766F8 #F88E66 #87F866 #66D0F8
square
#D766F8 #F88E66 #87F866 #66D0F8
split-complementary
#D766F8 #D0F866 #66F88E
monochromatic
#AB0ADA #C82BF5 #D766F8 #E6A1FB #F6DBFD

Accessibility & contrast

On white

2.94
#D766F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D766F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766F8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766F8#FFFFFF#000000##000000
##D766F81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFD
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#D67EA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d766f8;
/* rgb */ color: rgb(215, 102, 248);
/* oklch */ color: oklch(70.3% 0.226 318.0);
Tailwind
colors: {
  custom: {
    50: '#e697fb',
    500: '#d766f8',
    950: '#000000',
  },
}
SCSS
$custom: #d766f8;
$custom-light: #e697fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d766f8",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 286.438,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.22597,
    "h": 318
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#D766F8
secondary
#D1F3C7
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D766F8

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

Preview Lab → · Contrast checker → · Palette generator →

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