#D766F7#D766F7

#D766F7 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.225 H 318.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D766F7
RGBrgb(215, 102, 247)
HSLhsl(287, 90%, 68%)
HSVhsv(287, 59%, 97%)
CMYKcmyk(13%, 58.7%, 0%, 3.1%)
CIE-LABlab(62.23, 65.27, -53.72)
CIE-LCHlch(62.23, 84.53, 320.54°)
OKLaboklab(70.22% 0.1678 -0.1499)
OKLCHoklch(70.22% 0.225 318.2)
XYZxyz(49.5619, 30.6672, 91.2863)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766F7 #86F766
analogous
#8E66F7 #D766F7 #F766CE
triadic
#D766F7 #F7D766 #66F7D7
tetradic
#D766F7 #F78E66 #86F766 #66CEF7
square
#D766F7 #F78E66 #86F766 #66CEF7
split-complementary
#D766F7 #CEF766 #66F78E
monochromatic
#AA0BD7 #C82CF4 #D766F7 #E6A0FA #F5DAFD

Accessibility & contrast

On white

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

On black

7.13
#D766F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766F7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766F7#FFFFFF#000000##000000
##D766F71.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#D77EA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d766f7;
/* rgb */ color: rgb(215, 102, 247);
/* oklch */ color: oklch(70.2% 0.225 318.2);
Tailwind
colors: {
  custom: {
    50: '#e697fa',
    500: '#d766f7',
    950: '#000000',
  },
}
SCSS
$custom: #d766f7;
$custom-light: #e697fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d766f7",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 286.759,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.22502,
    "h": 318.2
  },
  "luminance": 0.30665
}

Semantic roles & 50–950 ramp

primary
#D766F7
secondary
#D0F2C7
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D766F7

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

Preview Lab → · Contrast checker → · Palette generator →

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