#D766FC#D766FC

#D766FC is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.5% C 0.230 H 317.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D766FC
RGBrgb(215, 102, 252)
HSLhsl(285, 96%, 69%)
HSVhsv(285, 60%, 99%)
CMYKcmyk(14.7%, 59.5%, 0%, 1.2%)
CIE-LABlab(62.49, 66.23, -56.05)
CIE-LCHlch(62.49, 86.76, 319.76°)
OKLaboklab(70.5% 0.1679 -0.1568)
OKLCHoklch(70.5% 0.23 317)
XYZxyz(50.3438, 30.9800, 95.4044)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766FC #8BFC66
analogous
#8C66FC #D766FC #FC66D6
triadic
#D766FC #FCD766 #66FCD7
tetradic
#D766FC #FC8C66 #8BFC66 #66D6FC
square
#D766FC #FC8C66 #8BFC66 #66D6FC
split-complementary
#D766FC #D6FC66 #66FC8C
monochromatic
#AC04E3 #C72AFB #D766FC #E7A2FD #F6DEFE

Accessibility & contrast

On white

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

On black

7.20
#D766FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766FC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766FC#FFFFFF#000000##000000
##D766FC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#699BF8
Tritanopia (blue-blind)
#D680A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d766fc;
/* rgb */ color: rgb(215, 102, 252);
/* oklch */ color: oklch(70.5% 0.230 317.0);
Tailwind
colors: {
  custom: {
    50: '#e797fe',
    500: '#d766fc',
    950: '#000000',
  },
}
SCSS
$custom: #d766fc;
$custom-light: #e797fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d766fc",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 285.2,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.22973,
    "h": 317
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

primary
#D766FC
secondary
#D4F5C9
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D766FC

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

Preview Lab → · Contrast checker → · Palette generator →

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