#D366E2#D366E2

#D366E2 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.6% C 0.204 H 322.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#D366E2
RGBrgb(211, 102, 226)
HSLhsl(293, 68%, 64%)
HSVhsv(293, 55%, 89%)
CMYKcmyk(6.6%, 54.9%, 0%, 11.4%)
CIE-LABlab(60.64, 60.32, -44.58)
CIE-LCHlch(60.64, 75.00, 323.54°)
OKLaboklab(68.61% 0.1619 -0.1235)
OKLCHoklch(68.61% 0.204 322.7)
XYZxyz(45.3414, 28.8448, 75.1161)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366E2 #75E266
analogous
#9566E2 #D366E2 #E266B3
triadic
#D366E2 #E2D366 #66E2D3
tetradic
#D366E2 #E29566 #75E266 #66B3E2
square
#D366E2 #E29566 #75E266 #66B3E2
split-complementary
#D366E2 #B3E266 #66E295
monochromatic
#9C21AD #C433D8 #D366E2 #E299EC #F1CDF6

Accessibility & contrast

On white

3.10
#D366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#D366E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366E2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366E2#FFFFFF#000000##000000
##D366E21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#D6779B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d366e2;
/* rgb */ color: rgb(211, 102, 226);
/* oklch */ color: oklch(68.6% 0.204 322.7);
Tailwind
colors: {
  custom: {
    50: '#e396eb',
    500: '#d366e2',
    950: '#000000',
  },
}
SCSS
$custom: #d366e2;
$custom-light: #e396eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d366e2",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 292.742,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.20361,
    "h": 322.7
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#D366E2
secondary
#C2E7BC
accent
#D0152C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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