#D766FE#D766FE

#D766FE is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.6% C 0.232 H 316.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D766FE
RGBrgb(215, 102, 254)
HSLhsl(285, 99%, 70%)
HSVhsv(285, 60%, 100%)
CMYKcmyk(15.4%, 59.8%, 0%, 0.4%)
CIE-LABlab(62.60, 66.62, -56.98)
CIE-LCHlch(62.60, 87.66, 319.46°)
OKLaboklab(70.61% 0.168 -0.1595)
OKLCHoklch(70.61% 0.232 316.5)
XYZxyz(50.6624, 31.1074, 97.0823)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766FE #8DFE66
analogous
#8B66FE #D766FE #FE66D9
triadic
#D766FE #FED766 #66FED7
tetradic
#D766FE #FE8B66 #8DFE66 #66D9FE
square
#D766FE #FE8B66 #8DFE66 #66D9FE
split-complementary
#D766FE #D9FE66 #66FE8B
monochromatic
#AD02E8 #C729FE #D766FE #E7A3FE #F7E0FF

Accessibility & contrast

On white

2.91
#D766FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D766FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766FE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766FE#FFFFFF#000000##000000
##D766FE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#D580A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d766fe;
/* rgb */ color: rgb(215, 102, 254);
/* oklch */ color: oklch(70.6% 0.232 316.5);
Tailwind
colors: {
  custom: {
    50: '#e797ff',
    500: '#d766fe',
    950: '#000000',
  },
}
SCSS
$custom: #d766fe;
$custom-light: #e797ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d766fe",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 284.605,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.23161,
    "h": 316.5
  },
  "luminance": 0.31106
}

Semantic roles & 50–950 ramp

primary
#D766FE
secondary
#D5F5CA
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D766FE

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

Preview Lab → · Contrast checker → · Palette generator →

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