#D366EC#D366EC

#D366EC is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.1% C 0.213 H 319.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D366EC
RGBrgb(211, 102, 236)
HSLhsl(289, 78%, 66%)
HSVhsv(289, 57%, 93%)
CMYKcmyk(10.6%, 56.8%, 0%, 7.5%)
CIE-LABlab(61.14, 62.19, -49.37)
CIE-LCHlch(61.14, 79.40, 321.56°)
OKLaboklab(69.14% 0.1627 -0.1374)
OKLCHoklch(69.14% 0.213 319.8)
XYZxyz(46.7538, 29.4098, 82.5545)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366EC #7FEC66
analogous
#9066EC #D366EC #EC66C2
triadic
#D366EC #ECD366 #66ECD3
tetradic
#D366EC #EC9066 #7FEC66 #66C2EC
square
#D366EC #EC9066 #7FEC66 #66C2EC
split-complementary
#D366EC #C2EC66 #66EC90
monochromatic
#A018C0 #C330E5 #D366EC #E39CF3 #F2D3FA

Accessibility & contrast

On white

3.05
#D366EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D366EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366EC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366EC#FFFFFF#000000##000000
##D366EC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#D47BA0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d366ec;
/* rgb */ color: rgb(211, 102, 236);
/* oklch */ color: oklch(69.1% 0.213 319.8);
Tailwind
colors: {
  custom: {
    50: '#e397f3',
    500: '#d366ec',
    950: '#000000',
  },
}
SCSS
$custom: #d366ec;
$custom-light: #e397f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d366ec",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 288.806,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.21291,
    "h": 319.8
  },
  "luminance": 0.29408
}

Semantic roles & 50–950 ramp

primary
#D366EC
secondary
#C9EDC1
accent
#DA0B32
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D366EC

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

Preview Lab → · Contrast checker → · Palette generator →

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