#D366EF#D366EF

#D366EF is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.3% C 0.216 H 319.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D366EF
RGBrgb(211, 102, 239)
HSLhsl(288, 81%, 67%)
HSVhsv(288, 57%, 94%)
CMYKcmyk(11.7%, 57.3%, 0%, 6.3%)
CIE-LABlab(61.30, 62.76, -50.79)
CIE-LCHlch(61.30, 80.74, 321.02°)
OKLaboklab(69.3% 0.1628 -0.1415)
OKLCHoklch(69.3% 0.216 319)
XYZxyz(47.1933, 29.5856, 84.8693)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366EF #82EF66
analogous
#8F66EF #D366EF #EF66C7
triadic
#D366EF #EFD366 #66EFD3
tetradic
#D366EF #EF8F66 #82EF66 #66C7EF
square
#D366EF #EF8F66 #82EF66 #66C7EF
split-complementary
#D366EF #C7EF66 #66EF8F
monochromatic
#A215C6 #C32FE9 #D366EF #E39DF5 #F3D5FB

Accessibility & contrast

On white

3.04
#D366EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D366EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366EF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366EF#FFFFFF#000000##000000
##D366EF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#6E98EB
Tritanopia (blue-blind)
#D37CA1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d366ef;
/* rgb */ color: rgb(211, 102, 239);
/* oklch */ color: oklch(69.3% 0.216 319.0);
Tailwind
colors: {
  custom: {
    50: '#e397f5',
    500: '#d366ef',
    950: '#000000',
  },
}
SCSS
$custom: #d366ef;
$custom-light: #e397f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d366ef",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 287.737,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69298,
    "c": 0.21574,
    "h": 319
  },
  "luminance": 0.29584
}

Semantic roles & 50–950 ramp

primary
#D366EF
secondary
#CBEEC2
accent
#DD0834
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D366EF

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

Preview Lab → · Contrast checker → · Palette generator →

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