#D766FA#D766FA

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

Color values

HEX#D766FA
RGBrgb(215, 102, 250)
HSLhsl(286, 94%, 69%)
HSVhsv(286, 59%, 98%)
CMYKcmyk(14%, 59.2%, 0%, 2%)
CIE-LABlab(62.38, 65.84, -55.12)
CIE-LCHlch(62.38, 85.87, 320.07°)
OKLaboklab(70.39% 0.1679 -0.154)
OKLCHoklch(70.39% 0.228 317.5)
XYZxyz(50.0286, 30.8539, 93.7440)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766FA #89FA66
analogous
#8D66FA #D766FA #FA66D3
triadic
#D766FA #FAD766 #66FAD7
tetradic
#D766FA #FA8D66 #89FA66 #66D3FA
square
#D766FA #FA8D66 #89FA66 #66D3FA
split-complementary
#D766FA #D3FA66 #66FA8D
monochromatic
#AB07DE #C82BF8 #D766FA #E6A1FC #F6DDFE

Accessibility & contrast

On white

2.93
#D766FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D766FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766FA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766FA#FFFFFF#000000##000000
##D766FA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d766fa;
/* rgb */ color: rgb(215, 102, 250);
/* oklch */ color: oklch(70.4% 0.228 317.5);
Tailwind
colors: {
  custom: {
    50: '#e797fc',
    500: '#d766fa',
    950: '#000000',
  },
}
SCSS
$custom: #d766fa;
$custom-light: #e797fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d766fa",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 285.811,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70386,
    "c": 0.22784,
    "h": 317.5
  },
  "luminance": 0.30852
}

Semantic roles & 50–950 ramp

primary
#D766FA
secondary
#D2F4C8
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D766FA

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

Preview Lab → · Contrast checker → · Palette generator →

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