#D766FB#D766FB

#D766FB is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.4% C 0.229 H 317.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D766FB
RGBrgb(215, 102, 251)
HSLhsl(286, 95%, 69%)
HSVhsv(286, 59%, 98%)
CMYKcmyk(14.3%, 59.4%, 0%, 1.6%)
CIE-LABlab(62.44, 66.03, -55.59)
CIE-LCHlch(62.44, 86.32, 319.91°)
OKLaboklab(70.44% 0.1679 -0.1554)
OKLCHoklch(70.44% 0.229 317.2)
XYZxyz(50.1858, 30.9168, 94.5720)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766FB #8AFB66
analogous
#8D66FB #D766FB #FB66D5
triadic
#D766FB #FBD766 #66FBD7
tetradic
#D766FB #FB8D66 #8AFB66 #66D5FB
square
#D766FB #FB8D66 #8AFB66 #66D5FB
split-complementary
#D766FB #D5FB66 #66FB8D
monochromatic
#AC06E1 #C72AF9 #D766FB #E7A2FD #F6DDFE

Accessibility & contrast

On white

2.92
#D766FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D766FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766FB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766FB#FFFFFF#000000##000000
##D766FB1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#D67FA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d766fb;
/* rgb */ color: rgb(215, 102, 251);
/* oklch */ color: oklch(70.4% 0.229 317.2);
Tailwind
colors: {
  custom: {
    50: '#e797fd',
    500: '#d766fb',
    950: '#000000',
  },
}
SCSS
$custom: #d766fb;
$custom-light: #e797fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d766fb",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 285.503,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70441,
    "c": 0.22879,
    "h": 317.2
  },
  "luminance": 0.30915
}

Semantic roles & 50–950 ramp

primary
#D766FB
secondary
#D3F4C9
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D766FB

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

Preview Lab → · Contrast checker → · Palette generator →

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