#D366DC#D366DC

#D366DC is a light, vivid purple. Relative luminance 0.285; OKLCH L 68.3% C 0.198 H 324.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D366DC
RGBrgb(211, 102, 220)
HSLhsl(295, 63%, 63%)
HSVhsv(295, 54%, 86%)
CMYKcmyk(4.1%, 53.6%, 0%, 13.7%)
CIE-LABlab(60.36, 59.22, -41.66)
CIE-LCHlch(60.36, 72.41, 324.87°)
OKLaboklab(68.31% 0.1613 -0.1151)
OKLCHoklch(68.31% 0.198 324.5)
XYZxyz(44.5325, 28.5213, 70.8558)
Luminance0.2852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366DC #6FDC66
analogous
#9866DC #D366DC #DC66AA
triadic
#D366DC #DCD366 #66DCD3
tetradic
#D366DC #DC9866 #6FDC66 #66AADC
square
#D366DC #DC9866 #6FDC66 #66AADC
split-complementary
#D366DC #AADC66 #66DC98
monochromatic
#9925A2 #C534D1 #D366DC #E198E7 #F0CAF3

Accessibility & contrast

On white

3.13
#D366DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D366DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366DC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366DC#FFFFFF#000000##000000
##D366DC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#7996D9
Tritanopia (blue-blind)
#D77598
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d366dc;
/* rgb */ color: rgb(211, 102, 220);
/* oklch */ color: oklch(68.3% 0.198 324.5);
Tailwind
colors: {
  custom: {
    50: '#e396e7',
    500: '#d366dc',
    950: '#000000',
  },
}
SCSS
$custom: #d366dc;
$custom-light: #e396e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d366dc",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 295.424,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.19813,
    "h": 324.5
  },
  "luminance": 0.28519
}

Semantic roles & 50–950 ramp

primary
#D366DC
secondary
#BDE4BA
accent
#CB1B28
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D366DC

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

Preview Lab → · Contrast checker → · Palette generator →

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